Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001352/0.001352, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00157/0.00157, allocations: 212.5 kB / 22.25 MB, free: 5.121 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003972/0.003972, allocations: 296.3 kB / 312.7 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.262/1.262, allocations: 180.6 MB / 0.5369 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002899/0.002899, allocations: 97.27 kB / 0.7396 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1725, allocations: 95.38 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002832/0.1753, allocations: 1.292 MB / 0.834 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003544/0.1788, allocations: 2.579 MB / 0.8365 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.1789, allocations: 0 / 0.8365 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.1789, allocations: 7.922 kB / 0.8365 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.1789, allocations: 15.92 kB / 0.8365 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.1796, allocations: 135.4 kB / 0.8366 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.1796, allocations: 31.92 kB / 0.8367 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.1797, allocations: 3.938 kB / 0.8367 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.1797, allocations: 19.98 kB / 0.8367 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.356e-05/0.1798, allocations: 19.91 kB / 0.8367 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1798, allocations: 7.938 kB / 0.8367 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.1801, allocations: 119.8 kB / 0.8368 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.1801, allocations: 7.984 kB / 0.8368 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.1802, allocations: 15.94 kB / 0.8369 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1804, allocations: 83.98 kB / 0.8369 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1804, allocations: 0 / 0.8369 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1804, allocations: 0 / 0.8369 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.1804, allocations: 0 / 0.8369 GB, free: 4.281 MB / 0.5762 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.0004094/0.1808, allocations: 274.3 kB / 0.8372 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1808, allocations: 12.75 kB / 0.8372 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.1809, allocations: 42.69 kB / 0.8373 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.1811, allocations: 16.88 kB / 0.8373 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.754e-05/0.1812, allocations: 118.4 kB / 0.8374 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1812, allocations: 4.375 kB / 0.8374 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1812, allocations: 8.359 kB / 0.8374 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1813, allocations: 76.17 kB / 0.8375 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1814, allocations: 0 / 0.8375 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1814, allocations: 4 kB / 0.8375 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1814, allocations: 4 kB / 0.8375 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.993e-05/0.1814, allocations: 11.94 kB / 0.8375 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.182, allocations: 408.3 kB / 0.8379 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.1821, allocations: 75.72 kB / 0.838 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.1822, allocations: 22.58 kB / 0.838 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.1822, allocations: 96 / 0.838 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.1822, allocations: 46.55 kB / 0.838 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1822, allocations: 3.938 kB / 0.838 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005711/0.1828, allocations: 217.1 kB / 0.8382 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.1828, allocations: 102.8 kB / 0.8383 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.1829, allocations: 101.8 kB / 0.8384 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1829, allocations: 33.7 kB / 0.8385 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.183, allocations: 92.28 kB / 0.8385 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.183, allocations: 31.78 kB / 0.8386 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1831, allocations: 25.72 kB / 0.8386 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1832, allocations: 318.8 kB / 0.8389 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.1832, allocations: 15.94 kB / 0.8389 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.1833, allocations: 49.14 kB / 0.839 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.95e-05/0.1834, allocations: 77.59 kB / 0.839 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1834, allocations: 0 / 0.839 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001455/0.1835, allocations: 101.7 kB / 0.8391 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1835, allocations: 8 kB / 0.8391 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1835, allocations: 4 kB / 0.8391 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1836, allocations: 0 / 0.8391 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.1836, allocations: 19.94 kB / 0.8392 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1836, allocations: 7.984 kB / 0.8392 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.1837, allocations: 7.938 kB / 0.8392 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1837, allocations: 7.938 kB / 0.8392 GB, free: 1.672 MB / 0.5762 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 0.0001169/0.1838, allocations: 114.5 kB / 0.8393 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.1839, allocations: 4 kB / 0.8393 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.1839, allocations: 11.75 kB / 0.8393 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1839, allocations: 4.062 kB / 0.8393 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1839, allocations: 4 kB / 0.8393 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1839, allocations: 0 / 0.8393 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.1843, allocations: 152.6 kB / 0.8395 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1843, allocations: 4 kB / 0.8395 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.931e-05/0.1844, allocations: 27.86 kB / 0.8395 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1844, allocations: 0 / 0.8395 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1844, allocations: 4 kB / 0.8395 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1844, allocations: 0 / 0.8395 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1844, allocations: 4 kB / 0.8395 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1846, allocations: 330 kB / 0.8398 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.1847, allocations: 7.953 kB / 0.8398 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1847, allocations: 4 kB / 0.8398 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1848, allocations: 8.031 kB / 0.8398 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.1849, allocations: 11.94 kB / 0.8399 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1849, allocations: 0 / 0.8399 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.1849, allocations: 87.27 kB / 0.8399 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1849, allocations: 0 / 0.8399 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003134/0.1852, allocations: 12 kB / 0.8399 GB, free: 0.8281 MB / 0.5762 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.00056/0.1858, allocations: 0.8556 MB / 0.8408 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1859, allocations: 39.97 kB / 0.8408 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1859, allocations: 0 / 0.8408 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.1859, allocations: 23.92 kB / 0.8408 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.1864, allocations: 16.31 kB / 0.8409 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1881, allocations: 1.703 MB / 0.8425 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1884, allocations: 0.6846 MB / 0.8432 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.256e-05/0.1885, allocations: 15.77 kB / 0.8432 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.1885, allocations: 15.44 kB / 0.8432 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.1885, allocations: 0 / 0.8432 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.2169, allocations: 1.84 MB / 0.845 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.18, allocations: 5.312 kB / 0.845 GB, free: 11.63 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.450690635014325] Failed to read output from testmodel.py, exit status != 0: 11.284310447983444 11.30223679 11.118451425 Calling exit ...