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.001418/0.001418, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001496/0.001496, allocations: 223.6 kB / 23.03 MB, free: 4.945 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002484/0.002484, allocations: 286 kB / 313.5 MB, free: 2.605 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.19/1.19, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",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.002704/0.002704, allocations: 102.5 kB / 0.7402 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1523, allocations: 95.39 MB / 0.8334 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00222/0.1545, allocations: 1.276 MB / 0.8346 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002999/0.1575, allocations: 2.373 MB / 0.837 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.1575, allocations: 0 / 0.837 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.1575, allocations: 0 / 0.837 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.1576, allocations: 11.92 kB / 0.837 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.1581, allocations: 131.4 kB / 0.8371 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.175e-05/0.1581, allocations: 35.91 kB / 0.8371 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.047e-05/0.1582, allocations: 4 kB / 0.8371 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.1582, allocations: 19.86 kB / 0.8371 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.1583, allocations: 15.98 kB / 0.8372 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1583, allocations: 0 / 0.8372 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.1585, allocations: 107.8 kB / 0.8373 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.1585, allocations: 11.92 kB / 0.8373 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1586, allocations: 12 kB / 0.8373 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1588, allocations: 80 kB / 0.8374 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1588, allocations: 7.938 kB / 0.8374 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1588, allocations: 0 / 0.8374 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1588, allocations: 0 / 0.8374 GB, free: 4.234 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.0003744/0.1591, allocations: 278.2 kB / 0.8376 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1592, allocations: 8.75 kB / 0.8376 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.223e-05/0.1592, allocations: 12.19 kB / 0.8377 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.1592, allocations: 30.75 kB / 0.8377 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.1594, allocations: 20.81 kB / 0.8377 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.335e-05/0.1595, allocations: 118.4 kB / 0.8378 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1595, allocations: 384 / 0.8378 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1595, allocations: 16.12 kB / 0.8378 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1597, allocations: 157.3 kB / 0.838 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1597, allocations: 0 / 0.838 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1597, allocations: 0 / 0.838 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1597, allocations: 0 / 0.838 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.1598, allocations: 8 kB / 0.838 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.1603, allocations: 408.3 kB / 0.8384 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1605, allocations: 71.72 kB / 0.8384 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.1605, allocations: 26.72 kB / 0.8385 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1605, allocations: 4 kB / 0.8385 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1606, allocations: 34.56 kB / 0.8385 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1606, allocations: 0 / 0.8385 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005522/0.1611, allocations: 225.1 kB / 0.8387 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.1612, allocations: 110.8 kB / 0.8388 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.1613, allocations: 97.86 kB / 0.8389 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1613, allocations: 25.7 kB / 0.8389 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.1613, allocations: 96.02 kB / 0.839 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.1613, allocations: 20.06 kB / 0.8391 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.1614, allocations: 33.7 kB / 0.8391 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1615, allocations: 322.8 kB / 0.8394 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.1616, allocations: 11.98 kB / 0.8394 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.003e-05/0.1616, allocations: 49.16 kB / 0.8395 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.967e-05/0.1617, allocations: 73.08 kB / 0.8395 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1617, allocations: 3.938 kB / 0.8395 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001443/0.1619, allocations: 102 kB / 0.8396 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1619, allocations: 8 kB / 0.8396 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1619, allocations: 4.031 kB / 0.8396 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1619, allocations: 3.984 kB / 0.8396 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.162, allocations: 23.98 kB / 0.8397 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.162, allocations: 3.984 kB / 0.8397 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.999e-05/0.162, allocations: 11.88 kB / 0.8397 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.162, allocations: 4 kB / 0.8397 GB, free: 1.535 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.407e-05/0.1621, allocations: 118.4 kB / 0.8398 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.1622, allocations: 4.125 kB / 0.8398 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.1622, allocations: 11.75 kB / 0.8398 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1622, allocations: 0 / 0.8398 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1622, allocations: 3.984 kB / 0.8398 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.1622, allocations: 7.938 kB / 0.8398 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.1626, allocations: 148.8 kB / 0.84 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1626, allocations: 7.938 kB / 0.84 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.1626, allocations: 15.98 kB / 0.84 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1626, allocations: 4 kB / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1627, allocations: 0 / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1627, allocations: 0 / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1627, allocations: 8 kB / 0.84 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1629, allocations: 330 kB / 0.8403 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.163, allocations: 7.953 kB / 0.8403 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.163, allocations: 0 / 0.8403 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.1632, allocations: 8.031 kB / 0.8403 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.1632, allocations: 7.938 kB / 0.8403 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1632, allocations: 4 kB / 0.8403 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.1632, allocations: 83.27 kB / 0.8404 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1632, allocations: 0 / 0.8404 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003064/0.1635, allocations: 16 kB / 0.8404 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.0005333/0.1641, allocations: 0.8635 MB / 0.8413 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.1642, allocations: 43.86 kB / 0.8413 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1642, allocations: 4 kB / 0.8413 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.1642, allocations: 12 kB / 0.8413 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.1646, allocations: 11.92 kB / 0.8413 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1663, allocations: 1.717 MB / 0.843 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.156e-05/0.1664, allocations: 63.34 kB / 0.8431 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.094e-05/0.1665, allocations: 15.83 kB / 0.8431 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.1665, allocations: 15.44 kB / 0.8431 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.1665, allocations: 0 / 0.8431 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.1948, allocations: 1.916 MB / 0.845 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.95, allocations: 16.38 kB / 0.845 GB, free: 12.05 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.929992772988044] Failed to read output from testmodel.py, exit status != 0: 11.119608914945275 11.136235947 10.974593652 Calling exit ...