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.001323/0.001323, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001442/0.001442, allocations: 214.6 kB / 22.25 MB, free: 5.262 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.785 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.002438/0.002438, allocations: 298.9 kB / 312.7 MB, free: 2.582 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.149/1.149, allocations: 180.6 MB / 0.5369 GB, free: 14.62 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.002871/0.002871, allocations: 107.9 kB / 0.7395 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1616, allocations: 95.39 MB / 0.8326 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002432/0.164, allocations: 1.276 MB / 0.8339 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003189/0.1672, allocations: 2.369 MB / 0.8362 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.1672, allocations: 0 / 0.8362 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.1672, allocations: 3.938 kB / 0.8362 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.1673, allocations: 7.922 kB / 0.8362 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.1678, allocations: 139.4 kB / 0.8363 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.193e-05/0.1679, allocations: 35.84 kB / 0.8364 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.1679, allocations: 0 / 0.8364 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.168, allocations: 23.97 kB / 0.8364 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.149e-05/0.168, allocations: 11.92 kB / 0.8364 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1681, allocations: 4 kB / 0.8364 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.1683, allocations: 111.7 kB / 0.8365 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.1683, allocations: 4 kB / 0.8365 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.1683, allocations: 15.94 kB / 0.8365 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1685, allocations: 80 kB / 0.8366 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1685, allocations: 0 / 0.8366 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1685, allocations: 0 / 0.8366 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1685, allocations: 4 kB / 0.8366 GB, free: 4.195 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.0003889/0.1689, allocations: 270.3 kB / 0.8369 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.169, allocations: 12.75 kB / 0.8369 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.169, allocations: 30.75 kB / 0.8369 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.1692, allocations: 16.91 kB / 0.8369 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.1693, allocations: 126.4 kB / 0.8371 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1693, allocations: 384 / 0.8371 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1693, allocations: 12.06 kB / 0.8371 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1695, allocations: 149.4 kB / 0.8372 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1695, allocations: 0 / 0.8372 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1695, allocations: 4 kB / 0.8372 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1695, allocations: 0 / 0.8372 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.896e-05/0.1696, allocations: 11.94 kB / 0.8372 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/0.1702, allocations: 412.3 kB / 0.8376 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1703, allocations: 75.81 kB / 0.8377 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.1703, allocations: 26.58 kB / 0.8377 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1703, allocations: 0 / 0.8377 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1704, allocations: 38.5 kB / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1704, allocations: 0 / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005592/0.1709, allocations: 229.1 kB / 0.838 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.171, allocations: 106.8 kB / 0.8381 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.1711, allocations: 105.8 kB / 0.8382 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1711, allocations: 25.95 kB / 0.8382 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.1712, allocations: 92.09 kB / 0.8383 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1712, allocations: 27.69 kB / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.1712, allocations: 29.7 kB / 0.8383 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1714, allocations: 318.8 kB / 0.8386 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/0.1714, allocations: 15.98 kB / 0.8387 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.1714, allocations: 57.08 kB / 0.8387 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.664e-05/0.1715, allocations: 69.09 kB / 0.8388 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1715, allocations: 4 kB / 0.8388 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001363/0.1717, allocations: 93.5 kB / 0.8389 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1717, allocations: 8 kB / 0.8389 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1717, allocations: 0 / 0.8389 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1717, allocations: 4 kB / 0.8389 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.1718, allocations: 23.98 kB / 0.8389 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.1718, allocations: 7.922 kB / 0.8389 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.92e-05/0.1718, allocations: 8.547 kB / 0.8389 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.1718, allocations: 4 kB / 0.8389 GB, free: 1.504 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.714e-05/0.1719, allocations: 118.6 kB / 0.839 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.172, allocations: 0 / 0.839 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.172, allocations: 15.73 kB / 0.8391 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.172, allocations: 0 / 0.8391 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.172, allocations: 0 / 0.8391 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.172, allocations: 15.86 kB / 0.8391 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.1724, allocations: 148.7 kB / 0.8392 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1724, allocations: 0 / 0.8392 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.1725, allocations: 23.92 kB / 0.8392 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.1725, allocations: 0 / 0.8392 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1725, allocations: 4 kB / 0.8392 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1725, allocations: 4 kB / 0.8392 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1725, allocations: 0 / 0.8392 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1727, allocations: 326 kB / 0.8396 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.1728, allocations: 7.953 kB / 0.8396 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1728, allocations: 0 / 0.8396 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.1729, allocations: 12.09 kB / 0.8396 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.173, allocations: 11.88 kB / 0.8396 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.173, allocations: 4 kB / 0.8396 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.173, allocations: 83.27 kB / 0.8397 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.173, allocations: 4 kB / 0.8397 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003055/0.1733, allocations: 16 kB / 0.8397 GB, free: 0.6562 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.0005579/0.1739, allocations: 0.8634 MB / 0.8405 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.174, allocations: 39.97 kB / 0.8406 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.174, allocations: 4 kB / 0.8406 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.174, allocations: 16.23 kB / 0.8406 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1744, allocations: 16 kB / 0.8406 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.1761, allocations: 1.697 MB / 0.8423 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.519e-05/0.1762, allocations: 78.58 kB / 0.8423 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.356e-05/0.1762, allocations: 15.83 kB / 0.8423 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.1763, allocations: 15.38 kB / 0.8424 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.1763, allocations: 0 / 0.8424 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.2072, allocations: 2.23 MB / 0.8445 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.77, allocations: 11.25 kB / 0.8446 GB, free: 11.69 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: 14.648597332183272] Failed to read output from testmodel.py, exit status != 0: 10.872247307095677 10.889935062 10.718165984 Calling exit ...