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.001379/0.001379, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.001494/0.001494, allocations: 208.3 kB / 22.24 MB, free: 5.105 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.801 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.002463/0.002463, allocations: 297 kB / 312.7 MB, free: 2.598 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.195/1.195, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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.003093/0.003093, allocations: 105.7 kB / 0.7395 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1733, allocations: 95.39 MB / 0.8326 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002293/0.1756, allocations: 1.279 MB / 0.8339 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00317/0.1787, allocations: 2.365 MB / 0.8362 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.1788, allocations: 4 kB / 0.8362 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.1788, allocations: 7.875 kB / 0.8362 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.004e-05/0.1788, allocations: 15.91 kB / 0.8362 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.1793, allocations: 131.4 kB / 0.8363 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.865e-05/0.1794, allocations: 31.92 kB / 0.8364 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.068e-05/0.1794, allocations: 0 / 0.8364 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.1795, allocations: 23.97 kB / 0.8364 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.1796, allocations: 11.92 kB / 0.8364 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1796, allocations: 7.938 kB / 0.8364 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.1798, allocations: 99.81 kB / 0.8365 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.1798, allocations: 11.98 kB / 0.8365 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.1799, allocations: 19.92 kB / 0.8365 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1801, allocations: 76.02 kB / 0.8366 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1801, allocations: 0 / 0.8366 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1801, allocations: 0 / 0.8366 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1801, allocations: 0 / 0.8366 GB, free: 4.227 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.0003908/0.1805, allocations: 274.3 kB / 0.8369 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1805, allocations: 8.75 kB / 0.8369 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.1805, allocations: 34.75 kB / 0.8369 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.1807, allocations: 16.92 kB / 0.8369 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1808, allocations: 122.4 kB / 0.837 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1808, allocations: 8.375 kB / 0.8371 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1809, allocations: 4.375 kB / 0.8371 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1811, allocations: 149.3 kB / 0.8372 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1811, allocations: 0 / 0.8372 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1811, allocations: 4 kB / 0.8372 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.1811, allocations: 7.922 kB / 0.8372 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.345e-05/0.1811, allocations: 19.92 kB / 0.8372 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.1817, allocations: 408.3 kB / 0.8376 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1818, allocations: 71.72 kB / 0.8377 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.1819, allocations: 22.58 kB / 0.8377 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.1819, allocations: 0 / 0.8377 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1819, allocations: 42.64 kB / 0.8378 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1819, allocations: 0 / 0.8378 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005519/0.1825, allocations: 221.1 kB / 0.838 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.1825, allocations: 107.1 kB / 0.8381 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.1826, allocations: 105.8 kB / 0.8382 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1826, allocations: 29.7 kB / 0.8382 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.1827, allocations: 84.09 kB / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.1827, allocations: 31.73 kB / 0.8383 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.1828, allocations: 25.72 kB / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1829, allocations: 322.8 kB / 0.8386 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.1829, allocations: 15.94 kB / 0.8387 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.183, allocations: 57.08 kB / 0.8387 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1831, allocations: 73.08 kB / 0.8388 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.1831, allocations: 4.062 kB / 0.8388 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001416/0.1832, allocations: 98.11 kB / 0.8389 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1833, allocations: 4 kB / 0.8389 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1833, allocations: 4 kB / 0.8389 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1833, allocations: 0 / 0.8389 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.1833, allocations: 19.94 kB / 0.8389 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1834, allocations: 4 kB / 0.8389 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.1834, allocations: 8.125 kB / 0.8389 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.1834, allocations: 11.92 kB / 0.8389 GB, free: 1.531 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 8.125e-05/0.1835, allocations: 114.5 kB / 0.839 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.1835, allocations: 11.89 kB / 0.839 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.1836, allocations: 11.75 kB / 0.8391 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1836, allocations: 3.984 kB / 0.8391 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1836, allocations: 0 / 0.8391 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1836, allocations: 0 / 0.8391 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.1839, allocations: 152.7 kB / 0.8392 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1839, allocations: 0 / 0.8392 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.408e-05/0.184, allocations: 23.94 kB / 0.8392 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.184, allocations: 4 kB / 0.8392 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.184, allocations: 0 / 0.8392 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.184, allocations: 0 / 0.8392 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.184, allocations: 11.97 kB / 0.8392 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.1843, allocations: 322 kB / 0.8395 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.1843, allocations: 15.98 kB / 0.8396 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1843, allocations: 0 / 0.8396 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1845, allocations: 4 kB / 0.8396 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.1845, allocations: 7.922 kB / 0.8396 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.1845, allocations: 12 kB / 0.8396 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.1846, allocations: 79.28 kB / 0.8397 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1846, allocations: 0 / 0.8397 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003006/0.1849, allocations: 8 kB / 0.8397 GB, free: 0.6953 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.0005776/0.1855, allocations: 0.8673 MB / 0.8405 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.1856, allocations: 39.97 kB / 0.8406 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1856, allocations: 256 / 0.8406 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.1856, allocations: 27.86 kB / 0.8406 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.186, allocations: 12.06 kB / 0.8406 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1877, allocations: 1.705 MB / 0.8423 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.287e-05/0.1878, allocations: 75.28 kB / 0.8423 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.1878, allocations: 11.84 kB / 0.8423 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.1878, allocations: 15.44 kB / 0.8424 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1878, allocations: 0 / 0.8424 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.2158, allocations: 2.24 MB / 0.8445 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.85, allocations: 1.312 kB / 0.8445 GB, free: 11.72 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 14.911117118783295] Failed to read output from testmodel.py, exit status != 0: 10.954325774684548 10.976532994 10.793358147 Calling exit ...