Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001572/0.001572, allocations: 114.2 kB / 17.84 MB, free: 5.336 MB / 14.72 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.001922/0.001922, allocations: 207.1 kB / 20.8 MB, free: 2.391 MB / 14.72 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 1.572/1.572, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.975/0.975, allocations: 150 MB / 460.2 MB, free: 5.312 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.53 kB / 0.6368 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1687, allocations: 89.13 MB / 0.7238 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002689/0.1714, allocations: 1.274 MB / 0.7251 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004146/0.1756, allocations: 2.568 MB / 0.7276 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.1756, allocations: 0 / 0.7276 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.1756, allocations: 0 / 0.7276 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.1757, allocations: 7.922 kB / 0.7276 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.1763, allocations: 135.4 kB / 0.7277 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.361e-05/0.1764, allocations: 31.91 kB / 0.7277 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.1764, allocations: 4 kB / 0.7277 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.1765, allocations: 23.91 kB / 0.7278 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.1765, allocations: 19.92 kB / 0.7278 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.1765, allocations: 0 / 0.7278 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.1769, allocations: 119.8 kB / 0.7279 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.1769, allocations: 4 kB / 0.7279 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.1769, allocations: 19.92 kB / 0.7279 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1772, allocations: 88 kB / 0.728 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1772, allocations: 0 / 0.728 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1772, allocations: 0 / 0.728 GB, free: 15.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1772, allocations: 0 / 0.728 GB, free: 15.79 MB / 0.545 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.0005274/0.1777, allocations: 355.3 kB / 0.7283 GB, free: 15.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1778, allocations: 12.03 kB / 0.7284 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.409e-05/0.1778, allocations: 192 / 0.7284 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.1778, allocations: 42.69 kB / 0.7284 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.1781, allocations: 16.92 kB / 0.7284 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1782, allocations: 164.3 kB / 0.7286 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1782, allocations: 8.375 kB / 0.7286 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1782, allocations: 12.11 kB / 0.7286 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1784, allocations: 68.27 kB / 0.7287 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1784, allocations: 0 / 0.7287 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1784, allocations: 3.938 kB / 0.7287 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1784, allocations: 4 kB / 0.7287 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.049e-05/0.1785, allocations: 15.98 kB / 0.7287 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007035/0.1792, allocations: 466.8 kB / 0.7291 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1793, allocations: 79.59 kB / 0.7292 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.1794, allocations: 18.7 kB / 0.7292 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1794, allocations: 3.984 kB / 0.7292 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1794, allocations: 34.56 kB / 0.7293 GB, free: 14.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1794, allocations: 4 kB / 0.7293 GB, free: 14.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006524/0.1801, allocations: 302.3 kB / 0.7295 GB, free: 13.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.1801, allocations: 102.8 kB / 0.7296 GB, free: 13.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.1802, allocations: 105.8 kB / 0.7297 GB, free: 13.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1802, allocations: 29.7 kB / 0.7298 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.1803, allocations: 96.27 kB / 0.7299 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.1804, allocations: 31.8 kB / 0.7299 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.1804, allocations: 21.72 kB / 0.7299 GB, free: 13.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1805, allocations: 318.8 kB / 0.7302 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.1806, allocations: 15.98 kB / 0.7302 GB, free: 13.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.1806, allocations: 49.14 kB / 0.7303 GB, free: 13.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1807, allocations: 77.03 kB / 0.7304 GB, free: 13.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1807, allocations: 0 / 0.7304 GB, free: 13.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001593/0.1809, allocations: 93.55 kB / 0.7304 GB, free: 12.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1809, allocations: 6 kB / 0.7305 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1809, allocations: 8 kB / 0.7305 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1809, allocations: 3.984 kB / 0.7305 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.181, allocations: 19.94 kB / 0.7305 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.181, allocations: 4 kB / 0.7305 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1811, allocations: 11.83 kB / 0.7305 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1811, allocations: 8 kB / 0.7305 GB, free: 12.86 MB / 0.545 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 8.66e-05/0.1812, allocations: 113.8 kB / 0.7306 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.1812, allocations: 11.98 kB / 0.7306 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.1813, allocations: 11.56 kB / 0.7306 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1813, allocations: 4 kB / 0.7306 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1813, allocations: 0.6094 kB / 0.7306 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1813, allocations: 3.938 kB / 0.7306 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.1817, allocations: 169.7 kB / 0.7308 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1817, allocations: 4 kB / 0.7308 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.383e-05/0.1818, allocations: 15.98 kB / 0.7308 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1818, allocations: 0 / 0.7308 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1818, allocations: 4.062 kB / 0.7308 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1818, allocations: 4 kB / 0.7308 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1818, allocations: 0 / 0.7308 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.1821, allocations: 345.9 kB / 0.7312 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.1821, allocations: 81.11 kB / 0.7312 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1821, allocations: 3.938 kB / 0.7312 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1823, allocations: 11.98 kB / 0.7313 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.1823, allocations: 7.938 kB / 0.7313 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1823, allocations: 4 kB / 0.7313 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.1824, allocations: 79.28 kB / 0.7313 GB, free: 11.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1824, allocations: 0 / 0.7313 GB, free: 11.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003297/0.1827, allocations: 16 kB / 0.7314 GB, free: 11.9 MB / 0.545 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.0005862/0.1833, allocations: 0.8634 MB / 0.7322 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.1834, allocations: 43.92 kB / 0.7322 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1834, allocations: 0 / 0.7322 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.1835, allocations: 19.94 kB / 0.7323 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.1839, allocations: 12.41 kB / 0.7323 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1859, allocations: 1.703 MB / 0.7339 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1862, allocations: 0.6807 MB / 0.7346 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.52e-05/0.1863, allocations: 8 kB / 0.7346 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.1863, allocations: 19.42 kB / 0.7346 GB, free: 8.379 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.1863, allocations: 3.938 kB / 0.7346 GB, free: 8.375 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.206, allocations: 1.758 MB / 0.7363 GB, free: 6.824 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.64/8.846, allocations: 15.94 kB / 0.7364 GB, free: 6.809 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.855957872990984] Failed to read output from testmodel.py, exit status != 0: 8.97777184296865 9.003817283 8.822489336 Calling exit ...