Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.00126/0.00126, allocations: 107.2 kB / 16.45 MB, free: 6.449 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.001292/0.001292, allocations: 212 kB / 19.43 MB, free: 3.637 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.347/1.347, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002315/0.002315, allocations: 287.5 kB / 309.1 MB, free: 3.977 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.172/1.172, allocations: 180.9 MB / 0.5333 GB, free: 13.81 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",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.002682/0.002682, allocations: 103.1 kB / 0.7343 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1644, allocations: 95.34 MB / 0.8274 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.556/0.7205, allocations: 166.6 MB / 0.9901 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004259/0.7247, allocations: 4.614 MB / 0.9946 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.725, allocations: 15.31 kB / 0.9946 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.7254, allocations: 133.6 kB / 0.9947 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.7265, allocations: 0.5633 MB / 0.9953 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.7281, allocations: 0.7865 MB / 0.9961 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006448/0.7288, allocations: 0.5755 MB / 0.9966 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.7291, allocations: 187.7 kB / 0.9968 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009152/0.73, allocations: 475.4 kB / 0.9973 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.7306, allocations: 323.9 kB / 0.9976 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.7306, allocations: 18 kB / 0.9976 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.7322, allocations: 1.075 MB / 0.9986 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.7323, allocations: 93.3 kB / 0.9987 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.7324, allocations: 127.8 kB / 0.9988 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.7335, allocations: 0.7155 MB / 0.9995 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.7335, allocations: 1.406 kB / 0.9995 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7335, allocations: 0.5 kB / 0.9995 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.7335, allocations: 3.188 kB / 0.9996 GB, free: 3.086 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001079/0.7346, allocations: 0.605 MB / 1 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.7346, allocations: 9.719 kB / 1 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.7347, allocations: 57.02 kB / 1 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006477/0.7354, allocations: 75.03 kB / 1 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.7358, allocations: 301.2 kB / 1.001 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.7358, allocations: 14.62 kB / 1.001 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.7359, allocations: 22.75 kB / 1.001 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.7364, allocations: 286.7 kB / 1.001 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.7364, allocations: 1 kB / 1.001 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.7364, allocations: 10.06 kB / 1.001 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.7364, allocations: 4.375 kB / 1.001 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.7369, allocations: 210.7 kB / 1.001 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.7385, allocations: 1.239 MB / 1.002 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.7388, allocations: 171.9 kB / 1.002 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.739, allocations: 108.7 kB / 1.003 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000738/0.7397, allocations: 333.3 kB / 1.003 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.7397, allocations: 42.12 kB / 1.003 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.7397, allocations: 1.031 kB / 1.003 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0008503/0.7406, allocations: 280.5 kB / 1.003 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.7407, allocations: 160.1 kB / 1.003 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.741, allocations: 288.2 kB / 1.004 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.741, allocations: 31.23 kB / 1.004 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.7411, allocations: 148.4 kB / 1.004 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.7411, allocations: 47.92 kB / 1.004 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.7412, allocations: 38.83 kB / 1.004 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7413, allocations: 341.9 kB / 1.004 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.7415, allocations: 68.11 kB / 1.004 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.7417, allocations: 143.7 kB / 1.004 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.742, allocations: 217.3 kB / 1.005 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.742, allocations: 1.25 kB / 1.005 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004729/0.7425, allocations: 240.2 kB / 1.005 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.7425, allocations: 7.594 kB / 1.005 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.7425, allocations: 4.422 kB / 1.005 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.7425, allocations: 5.328 kB / 1.005 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.7427, allocations: 44.98 kB / 1.005 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.7427, allocations: 3.062 kB / 1.005 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.7429, allocations: 29.84 kB / 1.005 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.7429, allocations: 14.06 kB / 1.005 GB, free: 15.89 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001394/0.7431, allocations: 150.8 kB / 1.005 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.7432, allocations: 31.14 kB / 1.005 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.7436, allocations: 182.6 kB / 1.005 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7436, allocations: 3.391 kB / 1.005 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7436, allocations: 3.031 kB / 1.005 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.7436, allocations: 3.719 kB / 1.005 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.7446, allocations: 0.8606 MB / 1.006 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7446, allocations: 3.188 kB / 1.006 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.7447, allocations: 26.42 kB / 1.006 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7447, allocations: 2.25 kB / 1.006 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.7447, allocations: 10.12 kB / 1.006 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.7447, allocations: 2.25 kB / 1.006 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7447, allocations: 3.375 kB / 1.006 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.7452, allocations: 338.5 kB / 1.007 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.7453, allocations: 109.8 kB / 1.007 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.7454, allocations: 18.33 kB / 1.007 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.7455, allocations: 8.812 kB / 1.007 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.7456, allocations: 12.44 kB / 1.007 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.7456, allocations: 4.125 kB / 1.007 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002159/0.7458, allocations: 235.1 kB / 1.007 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7458, allocations: 3.938 kB / 1.007 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004534/0.7463, allocations: 95.48 kB / 1.007 GB, free: 14.66 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001101/0.7474, allocations: 0.9786 MB / 1.008 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.7477, allocations: 147 kB / 1.008 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7477, allocations: 0 / 1.008 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.7479, allocations: 61.7 kB / 1.008 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.7486, allocations: 137.2 kB / 1.008 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.7517, allocations: 2.768 MB / 1.011 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.7521, allocations: 0.7596 MB / 1.012 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000166/0.7522, allocations: 68.97 kB / 1.012 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.7523, allocations: 76.41 kB / 1.012 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.7523, allocations: 2.391 kB / 1.012 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.7847, allocations: 8.646 MB / 1.02 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.728, allocations: 11.86 kB / 1.02 GB, free: 10.91 MB / 0.7325 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.696971816010773] Failed to read output from testmodel.py, exit status != 0: 8.796556564979255 8.806550013 8.07092334 Calling exit ...