Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 214.8 kB / 23.02 MB, free: 2.957 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9861/0.9861, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.173/2.173, allocations: 0.5045 GB / 0.8104 GB, free: 2.812 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 75.88 kB / 1.177 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8985/0.8995, allocations: 180 MB / 1.352 GB, free: 1.711 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001885/0.9014, allocations: 1.279 MB / 1.354 GB, free: 436 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.9038, allocations: 2.375 MB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.9038, allocations: 3.938 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.9038, allocations: 3.984 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.9039, allocations: 7.922 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.9044, allocations: 131.4 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.792e-05/0.9045, allocations: 27.92 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.9045, allocations: 3.984 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.9046, allocations: 27.86 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.9047, allocations: 15.98 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.9047, allocations: 3.938 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.9049, allocations: 103.8 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.9049, allocations: 3.984 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.905, allocations: 16 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.9052, allocations: 82.02 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9052, allocations: 0 / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9052, allocations: 4 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.9052, allocations: 0 / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004588/0.9057, allocations: 274.2 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.9057, allocations: 12.92 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.9058, allocations: 34.73 kB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.9059, allocations: 20.83 kB / 1.357 GB, free: 13.24 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.016e-05/0.906, allocations: 106.5 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.906, allocations: 4.375 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.906, allocations: 12.36 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.9062, allocations: 149.3 kB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.9062, allocations: 0 / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.9062, allocations: 0 / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.9062, allocations: 0 / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.9062, allocations: 15.92 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.9067, allocations: 412.2 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.9068, allocations: 71.66 kB / 1.357 GB, free: 12.35 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.9068, allocations: 34.78 kB / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.9068, allocations: 0 / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.9069, allocations: 38.5 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.9069, allocations: 0 / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0004752/0.9073, allocations: 221.4 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.9074, allocations: 110.8 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.9074, allocations: 105.8 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.9075, allocations: 25.7 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.9075, allocations: 92.28 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.9075, allocations: 31.78 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.9075, allocations: 29.67 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.9076, allocations: 322.8 kB / 1.358 GB, free: 11.25 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.9076, allocations: 8 kB / 1.358 GB, free: 11.24 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.9077, allocations: 61.14 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.9077, allocations: 73.08 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.9077, allocations: 0 / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.177e-05/0.9078, allocations: 97.55 kB / 1.359 GB, free: 10.97 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.9079, allocations: 8 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9079, allocations: 3.984 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.9079, allocations: 4 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/0.9079, allocations: 23.92 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.9079, allocations: 0 / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.908, allocations: 4 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.908, allocations: 7.938 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.908, allocations: 118 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.9081, allocations: 7.953 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.9081, allocations: 7.75 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.9081, allocations: 3.938 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9081, allocations: 4 kB / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.9081, allocations: 0 / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.9083, allocations: 152.7 kB / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.9083, allocations: 0 / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.9084, allocations: 16 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9084, allocations: 3.984 kB / 1.359 GB, free: 10.56 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.9084, allocations: 0 / 1.359 GB, free: 10.56 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9084, allocations: 8 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9084, allocations: 0 / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.9086, allocations: 326 kB / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.9086, allocations: 19.92 kB / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.9086, allocations: 0 / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.9087, allocations: 8 kB / 1.359 GB, free: 10.19 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.9087, allocations: 11.92 kB / 1.359 GB, free: 10.18 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.9087, allocations: 3.938 kB / 1.359 GB, free: 10.18 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.866e-05/0.9087, allocations: 79.66 kB / 1.359 GB, free: 10.1 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.9087, allocations: 0 / 1.359 GB, free: 10.1 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002037/0.9089, allocations: 20 kB / 1.359 GB, free: 10.08 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004281/0.9094, allocations: 0.8713 MB / 1.36 GB, free: 9.176 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.9095, allocations: 47.86 kB / 1.36 GB, free: 9.129 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.9095, allocations: 0 / 1.36 GB, free: 9.129 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.9095, allocations: 19.94 kB / 1.36 GB, free: 9.109 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.9098, allocations: 12.31 kB / 1.36 GB, free: 9.098 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.9111, allocations: 1.693 MB / 1.362 GB, free: 7.289 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.943e-05/0.9112, allocations: 71.28 kB / 1.362 GB, free: 7.199 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.9112, allocations: 11.84 kB / 1.362 GB, free: 7.188 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.9113, allocations: 19.42 kB / 1.362 GB, free: 7.168 MB / 1.042 GB Notification: Performance of SimCode: time 9.92e-07/0.9113, allocations: 0 / 1.362 GB, free: 7.168 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08423/0.9955, allocations: 2.22 MB / 1.364 GB, free: 5.129 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/8.351, allocations: 10.67 kB / 1.364 GB, free: 5.121 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu) > Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu) > Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.817302690818906]