Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.001201/0.001201, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009627/0.0009627, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8958/0.8958, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5741/0.5741, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.752e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4176/0.4176, allocations: 149.4 MB / 0.7001 GB, free: 41.64 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006262/0.4239, allocations: 6.508 MB / 0.7065 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005379/0.4244, allocations: 17.62 kB / 0.7065 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.425, allocations: 182.7 kB / 0.7067 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.428, allocations: 1.313 MB / 0.7079 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.4296, allocations: 0.703 MB / 0.7086 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.4306, allocations: 0.7289 MB / 0.7093 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.4309, allocations: 218.9 kB / 0.7096 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.4324, allocations: 0.8319 MB / 0.7104 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008463/0.4333, allocations: 417 kB / 0.7108 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.4333, allocations: 25.78 kB / 0.7108 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.4353, allocations: 1.051 MB / 0.7118 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.4355, allocations: 125.4 kB / 0.7119 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.4357, allocations: 124.8 kB / 0.7121 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.4375, allocations: 0.9213 MB / 0.713 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.4375, allocations: 0.9375 kB / 0.713 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.176e-06/0.4375, allocations: 3.938 kB / 0.713 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.4376, allocations: 0 / 0.713 GB, free: 41.17 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.000915/0.4385, allocations: 0.6245 MB / 0.7136 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4385, allocations: 11.66 kB / 0.7136 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.173e-05/0.4386, allocations: 61.56 kB / 0.7136 GB, free: 40.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005973/0.4392, allocations: 134.5 kB / 0.7138 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.4396, allocations: 270.5 kB / 0.714 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.392e-05/0.4397, allocations: 80.81 kB / 0.7141 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.4397, allocations: 22.94 kB / 0.7141 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.4402, allocations: 396.6 kB / 0.7145 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4402, allocations: 0 / 0.7145 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.4402, allocations: 14.38 kB / 0.7145 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4402, allocations: 8.531 kB / 0.7145 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.4405, allocations: 269.9 kB / 0.7148 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.4416, allocations: 1.139 MB / 0.7159 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.4419, allocations: 191.5 kB / 0.7161 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.442, allocations: 109.6 kB / 0.7162 GB, free: 39.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/0.4425, allocations: 134.8 kB / 0.7163 GB, free: 39.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.4425, allocations: 33.22 kB / 0.7163 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/0.4425, allocations: 1.062 kB / 0.7163 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005679/0.443, allocations: 358.6 kB / 0.7167 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.4431, allocations: 54.03 kB / 0.7167 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.4433, allocations: 313.8 kB / 0.717 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4433, allocations: 32.83 kB / 0.7171 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.4434, allocations: 186.3 kB / 0.7172 GB, free: 39.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.4434, allocations: 48.61 kB / 0.7173 GB, free: 39.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.4435, allocations: 45.97 kB / 0.7173 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.4435, allocations: 337.1 kB / 0.7177 GB, free: 38.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.4436, allocations: 89.89 kB / 0.7177 GB, free: 38.92 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.4438, allocations: 224.8 kB / 0.718 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.444, allocations: 242.9 kB / 0.7182 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.444, allocations: 0.9062 kB / 0.7182 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000353/0.4444, allocations: 286 kB / 0.7185 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4444, allocations: 8.906 kB / 0.7185 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4444, allocations: 3.938 kB / 0.7185 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4444, allocations: 6.094 kB / 0.7185 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.4445, allocations: 42.5 kB / 0.7185 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4445, allocations: 2.625 kB / 0.7185 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.4447, allocations: 34.44 kB / 0.7186 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.4447, allocations: 11.25 kB / 0.7186 GB, free: 38.64 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.000109/0.4448, allocations: 155.7 kB / 0.7187 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.4449, allocations: 30.62 kB / 0.7187 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.4453, allocations: 315.9 kB / 0.719 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4453, allocations: 3.969 kB / 0.719 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4453, allocations: 0 / 0.719 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4453, allocations: 0 / 0.719 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007486/0.446, allocations: 0.7516 MB / 0.7198 GB, free: 38.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.446, allocations: 2.938 kB / 0.7198 GB, free: 38.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.402e-05/0.4461, allocations: 37.81 kB / 0.7198 GB, free: 38.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4461, allocations: 2.344 kB / 0.7198 GB, free: 38.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.4461, allocations: 11.28 kB / 0.7198 GB, free: 38.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4461, allocations: 8.969 kB / 0.7198 GB, free: 38.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4461, allocations: 3.688 kB / 0.7198 GB, free: 38.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.4465, allocations: 395.5 kB / 0.7202 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.4466, allocations: 53.11 kB / 0.7203 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.4466, allocations: 9.656 kB / 0.7203 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.4467, allocations: 18.38 kB / 0.7203 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.4468, allocations: 18.75 kB / 0.7203 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.4468, allocations: 11.56 kB / 0.7203 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001296/0.4469, allocations: 225 kB / 0.7205 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4469, allocations: 0 / 0.7205 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004701/0.4474, allocations: 125.8 kB / 0.7207 GB, free: 37.81 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0008041/0.4482, allocations: 1.051 MB / 0.7217 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.4485, allocations: 220.4 kB / 0.7219 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4485, allocations: 0 / 0.7219 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.4486, allocations: 113.5 kB / 0.722 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.4492, allocations: 146.1 kB / 0.7222 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.4522, allocations: 3.031 MB / 0.7251 GB, free: 35.49 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4525, allocations: 178.7 kB / 0.7253 GB, free: 35.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004177/0.453, allocations: 86.86 kB / 0.7254 GB, free: 35.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.4531, allocations: 98.55 kB / 0.7255 GB, free: 35.39 MB / 0.6355 GB Notification: Performance of SimCode: time 1.864e-06/0.4531, allocations: 0.75 kB / 0.7255 GB, free: 35.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.4875, allocations: 11.6 MB / 0.7368 GB, free: 33.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.561, allocations: 21.14 kB / 0.7368 GB, free: 33.81 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.22955435141921] Failed to read output from testmodel.py, exit status != 0: 7.648541077040136 7.665158231 7.225409606 Calling exit ...