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.001004/0.001004, allocations: 80.48 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.001082/0.001082, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9263/0.9263, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5832/0.5832, 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.674e-06/1.674e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.468e-05, allocations: 6.219 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4413/0.4413, allocations: 149.4 MB / 0.7001 GB, free: 41.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006035/0.4473, allocations: 6.502 MB / 0.7065 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.4479, allocations: 18.66 kB / 0.7065 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.4484, allocations: 180.1 kB / 0.7067 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.4516, allocations: 1.315 MB / 0.7079 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.4531, allocations: 0.7029 MB / 0.7086 GB, free: 41.51 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.4544, allocations: 0.7311 MB / 0.7093 GB, free: 41.51 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.4548, allocations: 208.7 kB / 0.7095 GB, free: 41.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.4565, allocations: 0.8357 MB / 0.7104 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007177/0.4572, allocations: 413.4 kB / 0.7108 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.4572, allocations: 24 kB / 0.7108 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.4591, allocations: 1.062 MB / 0.7118 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.4592, allocations: 117.9 kB / 0.7119 GB, free: 41.31 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.4594, allocations: 124.1 kB / 0.7121 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.4614, allocations: 0.9203 MB / 0.7129 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4614, allocations: 0.9375 kB / 0.7129 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4614, allocations: 0 / 0.7129 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.4614, allocations: 3.094 kB / 0.713 GB, free: 41.22 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.000882/0.4623, allocations: 0.6288 MB / 0.7136 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.474e-05/0.4624, allocations: 10.72 kB / 0.7136 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.749e-05/0.4624, allocations: 59.45 kB / 0.7136 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006619/0.4631, allocations: 133.5 kB / 0.7138 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.4635, allocations: 271.9 kB / 0.714 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/0.4636, allocations: 75.06 kB / 0.7141 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.4637, allocations: 31.78 kB / 0.7141 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.4642, allocations: 395.2 kB / 0.7145 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4642, allocations: 1.062 kB / 0.7145 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.4642, allocations: 9.156 kB / 0.7145 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.4642, allocations: 6.812 kB / 0.7145 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.4646, allocations: 276.9 kB / 0.7148 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.4656, allocations: 1.139 MB / 0.7159 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.4659, allocations: 185.3 kB / 0.7161 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.466, allocations: 108.7 kB / 0.7162 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/0.4664, allocations: 136.7 kB / 0.7163 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.4665, allocations: 35.16 kB / 0.7163 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.976e-06/0.4665, allocations: 3.938 kB / 0.7163 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006188/0.4671, allocations: 360.1 kB / 0.7167 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.4671, allocations: 54.06 kB / 0.7167 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.4673, allocations: 318.6 kB / 0.717 GB, free: 39.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.4674, allocations: 25.7 kB / 0.7171 GB, free: 39.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/0.4674, allocations: 189.7 kB / 0.7172 GB, free: 39.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.4675, allocations: 47.61 kB / 0.7173 GB, free: 39.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.4675, allocations: 43.97 kB / 0.7173 GB, free: 39.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.4676, allocations: 340.9 kB / 0.7177 GB, free: 38.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.4677, allocations: 87.67 kB / 0.7177 GB, free: 38.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.4679, allocations: 227.1 kB / 0.718 GB, free: 38.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.4681, allocations: 240.4 kB / 0.7182 GB, free: 38.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4681, allocations: 3.188 kB / 0.7182 GB, free: 38.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003338/0.4684, allocations: 284 kB / 0.7185 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4684, allocations: 5.375 kB / 0.7185 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4685, allocations: 5.656 kB / 0.7185 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4685, allocations: 3.5 kB / 0.7185 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.4686, allocations: 43 kB / 0.7185 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4686, allocations: 5.969 kB / 0.7185 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4687, allocations: 30.81 kB / 0.7186 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.4688, allocations: 13.84 kB / 0.7186 GB, free: 38.7 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.0001008/0.4689, allocations: 158.6 kB / 0.7187 GB, free: 38.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.4689, allocations: 29.88 kB / 0.7187 GB, free: 38.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004102/0.4693, allocations: 307.7 kB / 0.719 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4693, allocations: 6.469 kB / 0.719 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4693, allocations: 3.422 kB / 0.719 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4693, allocations: 4.297 kB / 0.7191 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007913/0.4701, allocations: 0.7519 MB / 0.7198 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4701, allocations: 2.656 kB / 0.7198 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.829e-05/0.4702, allocations: 35.22 kB / 0.7198 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4702, allocations: 5.906 kB / 0.7198 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.4702, allocations: 10 kB / 0.7198 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.4702, allocations: 3.625 kB / 0.7198 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4702, allocations: 2.625 kB / 0.7198 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.4706, allocations: 402.4 kB / 0.7202 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.4706, allocations: 54.5 kB / 0.7203 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.4707, allocations: 10.19 kB / 0.7203 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4708, allocations: 16.64 kB / 0.7203 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.4708, allocations: 21.05 kB / 0.7203 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.4709, allocations: 15.75 kB / 0.7203 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001223/0.471, allocations: 222.9 kB / 0.7206 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.471, allocations: 0 / 0.7206 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004129/0.4714, allocations: 126.1 kB / 0.7207 GB, free: 37.86 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.001017/0.4724, allocations: 1.047 MB / 0.7217 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000443/0.4729, allocations: 216.8 kB / 0.7219 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4729, allocations: 0 / 0.7219 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.473, allocations: 114.6 kB / 0.722 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.4736, allocations: 149.3 kB / 0.7222 GB, free: 37.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.4773, allocations: 3.03 MB / 0.7251 GB, free: 35.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.4775, allocations: 178.1 kB / 0.7253 GB, free: 35.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000302/0.4778, allocations: 85.56 kB / 0.7254 GB, free: 35.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.478, allocations: 101.4 kB / 0.7255 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.613e-06/0.478, allocations: 1.531 kB / 0.7255 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.5106, allocations: 11.61 MB / 0.7368 GB, free: 33.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.514, allocations: 9.172 kB / 0.7368 GB, free: 33.85 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.105848543345928] Failed to read output from testmodel.py, exit status != 0: 7.6027966579422355 7.614177118 7.14970811 Calling exit ...