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.0008401/0.0008401, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001057/0.001057, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.9209/0.9209, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001485/0.001485, allocations: 234.9 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6674/0.6674, allocations: 138.4 MB / 454.3 MB, free: 29.97 MB / 410.7 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.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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.646e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.3411/0.3411, allocations: 143.9 MB / 0.7868 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003595/0.3447, allocations: 4.199 MB / 0.7909 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.345, allocations: 15.88 kB / 0.7909 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.3454, allocations: 135 kB / 0.791 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.3465, allocations: 0.5752 MB / 0.7916 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.3479, allocations: 0.8297 MB / 0.7924 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.3484, allocations: 0.5845 MB / 0.793 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.3487, allocations: 157.4 kB / 0.7931 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008949/0.3496, allocations: 0.541 MB / 0.7937 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.35, allocations: 287.1 kB / 0.7939 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.3501, allocations: 16 kB / 0.794 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.3511, allocations: 0.8645 MB / 0.7948 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-05/0.3512, allocations: 95.7 kB / 0.7949 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.3513, allocations: 83.83 kB / 0.795 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009345/0.3523, allocations: 0.7362 MB / 0.7957 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3523, allocations: 0 / 0.7957 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3523, allocations: 0 / 0.7957 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3523, allocations: 0 / 0.7957 GB, free: 2.062 MB / 0.6198 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.0007354/0.353, allocations: 0.5293 MB / 0.7962 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.353, allocations: 9.938 kB / 0.7962 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.3531, allocations: 59.14 kB / 0.7963 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.3535, allocations: 83.7 kB / 0.7964 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3538, allocations: 242.3 kB / 0.7966 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3538, allocations: 12 kB / 0.7966 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.3538, allocations: 20 kB / 0.7966 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.3541, allocations: 286.7 kB / 0.7969 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3541, allocations: 0 / 0.7969 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3542, allocations: 8.656 kB / 0.7969 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3542, allocations: 8 kB / 0.7969 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.3544, allocations: 212.3 kB / 0.7971 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009949/0.3554, allocations: 1.152 MB / 0.7982 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3556, allocations: 184.9 kB / 0.7984 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3557, allocations: 112.1 kB / 0.7985 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003243/0.356, allocations: 100.4 kB / 0.7986 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3561, allocations: 46.69 kB / 0.7987 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3561, allocations: 0 / 0.7987 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004675/0.3565, allocations: 281.7 kB / 0.7989 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.3566, allocations: 158.2 kB / 0.7991 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.3568, allocations: 288.2 kB / 0.7993 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3568, allocations: 29.7 kB / 0.7994 GB, free: 14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.3569, allocations: 147.9 kB / 0.7995 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.3569, allocations: 51.58 kB / 0.7996 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.357, allocations: 41.7 kB / 0.7996 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.357, allocations: 334.8 kB / 0.7999 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.3571, allocations: 67.94 kB / 0.8 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.3574, allocations: 252.3 kB / 0.8002 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.3577, allocations: 207.5 kB / 0.8004 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3577, allocations: 0 / 0.8004 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002927/0.358, allocations: 253.2 kB / 0.8007 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.358, allocations: 4 kB / 0.8007 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.358, allocations: 4 kB / 0.8007 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.358, allocations: 3.938 kB / 0.8007 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3581, allocations: 47.91 kB / 0.8007 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3581, allocations: 1.094 kB / 0.8007 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3582, allocations: 37.45 kB / 0.8008 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3582, allocations: 8 kB / 0.8008 GB, free: 12.47 MB / 0.6355 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 9.336e-05/0.3583, allocations: 154.6 kB / 0.8009 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.3584, allocations: 23.86 kB / 0.8009 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.3587, allocations: 195.3 kB / 0.8011 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3587, allocations: 4 kB / 0.8011 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3587, allocations: 2.25 kB / 0.8011 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3587, allocations: 0 / 0.8011 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.3593, allocations: 0.8033 MB / 0.8019 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3593, allocations: 6.625 kB / 0.8019 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.3593, allocations: 23.92 kB / 0.8019 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3593, allocations: 4 kB / 0.802 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3593, allocations: 4 kB / 0.802 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3593, allocations: 7.938 kB / 0.802 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3594, allocations: 0 / 0.802 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.3597, allocations: 335.6 kB / 0.8023 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.3597, allocations: 39.81 kB / 0.8023 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.3597, allocations: 4 kB / 0.8023 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.3598, allocations: 13.05 kB / 0.8023 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.3598, allocations: 15.92 kB / 0.8024 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3599, allocations: 4 kB / 0.8024 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001491/0.36, allocations: 235 kB / 0.8026 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.36, allocations: 0 / 0.8026 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003534/0.3604, allocations: 99.8 kB / 0.8027 GB, free: 10.41 MB / 0.6355 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.0007718/0.3611, allocations: 0.9783 MB / 0.8036 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.3614, allocations: 148.3 kB / 0.8038 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3614, allocations: 0 / 0.8038 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.3614, allocations: 55.91 kB / 0.8038 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.3619, allocations: 149.4 kB / 0.804 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.3642, allocations: 2.732 MB / 0.8066 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.3643, allocations: 154.2 kB / 0.8068 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.3644, allocations: 67.84 kB / 0.8068 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.135e-05/0.3645, allocations: 76.47 kB / 0.8069 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.3645, allocations: 0 / 0.8069 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.3888, allocations: 9.789 MB / 0.8165 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.269, allocations: 8.469 kB / 0.8165 GB, free: 12.39 MB / 0.6511 GB " [Timeout remaining time 653] (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: 9.9593106219545] Failed to read output from testmodel.py, exit status != 0: 7.352703584358096 7.361356703 7.00717464 Calling exit ...