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.001845/0.001845, allocations: 119 kB / 19.69 MB, free: 2.199 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.002366/0.002366, allocations: 221.8 kB / 23.01 MB, free: 5.043 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] 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.9187/0.9187, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 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: IBPSA 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.003298/0.003298, allocations: 74.02 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1974, allocations: 89.16 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5413/0.7387, allocations: 173.1 MB / 0.8974 GB, free: 10.17 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008593/0.7473, allocations: 7.224 MB / 0.9045 GB, free: 2.926 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.7477, allocations: 19.81 kB / 0.9045 GB, free: 2.906 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.7482, allocations: 166.7 kB / 0.9047 GB, free: 2.742 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.7512, allocations: 1.342 MB / 0.906 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.7529, allocations: 0.6668 MB / 0.9066 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009614/0.7538, allocations: 0.7602 MB / 0.9074 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/0.7542, allocations: 246.8 kB / 0.9076 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.7557, allocations: 0.7474 MB / 0.9083 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008228/0.7565, allocations: 458.4 kB / 0.9088 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.7566, allocations: 28 kB / 0.9088 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.7588, allocations: 1.356 MB / 0.9101 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.7589, allocations: 123.6 kB / 0.9102 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.7591, allocations: 187.1 kB / 0.9104 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.7606, allocations: 0.9057 MB / 0.9113 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7606, allocations: 0 / 0.9113 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7606, allocations: 0 / 0.9113 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.7606, allocations: 0 / 0.9113 GB, free: 11.93 MB / 0.6856 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.001019/0.7616, allocations: 0.6368 MB / 0.9119 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.7616, allocations: 12.03 kB / 0.9119 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.772e-05/0.7617, allocations: 58.55 kB / 0.912 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009699/0.7627, allocations: 139.6 kB / 0.9121 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.7632, allocations: 267.6 kB / 0.9124 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.192e-05/0.7633, allocations: 76.05 kB / 0.9124 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.7633, allocations: 32 kB / 0.9125 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.764, allocations: 371.2 kB / 0.9128 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.764, allocations: 0 / 0.9128 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.764, allocations: 12 kB / 0.9128 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.764, allocations: 7.938 kB / 0.9128 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.7646, allocations: 281.7 kB / 0.9131 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.7665, allocations: 1.45 MB / 0.9145 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.7669, allocations: 186.5 kB / 0.9147 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.7671, allocations: 112.8 kB / 0.9148 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007583/0.7678, allocations: 131.8 kB / 0.9149 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.7679, allocations: 38.56 kB / 0.915 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 2.405e-06/0.7679, allocations: 0 / 0.915 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0009226/0.7688, allocations: 354.6 kB / 0.9153 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.7689, allocations: 59.41 kB / 0.9154 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.7692, allocations: 308.5 kB / 0.9157 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.7692, allocations: 33.7 kB / 0.9157 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.7693, allocations: 184.3 kB / 0.9159 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.7694, allocations: 55.53 kB / 0.9159 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.7695, allocations: 41.7 kB / 0.916 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.7696, allocations: 346.7 kB / 0.9163 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.7698, allocations: 87.89 kB / 0.9164 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.7701, allocations: 145.9 kB / 0.9165 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.7705, allocations: 235.5 kB / 0.9167 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7705, allocations: 7.875 kB / 0.9168 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005771/0.7711, allocations: 289.2 kB / 0.917 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.7711, allocations: 8 kB / 0.917 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7711, allocations: 3.984 kB / 0.917 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.7711, allocations: 4 kB / 0.917 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.7714, allocations: 43.92 kB / 0.9171 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.7714, allocations: 0 / 0.9171 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.7716, allocations: 31.77 kB / 0.9171 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.7716, allocations: 12 kB / 0.9171 GB, free: 5.621 MB / 0.6856 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.0001735/0.7718, allocations: 159.8 kB / 0.9173 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.7719, allocations: 31.75 kB / 0.9173 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000719/0.7726, allocations: 312.7 kB / 0.9176 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7726, allocations: 3.984 kB / 0.9176 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.7726, allocations: 0 / 0.9176 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7726, allocations: 0 / 0.9176 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.774, allocations: 0.7919 MB / 0.9184 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.774, allocations: 4 kB / 0.9184 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.7742, allocations: 31.92 kB / 0.9184 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.7742, allocations: 4 kB / 0.9184 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.7742, allocations: 8 kB / 0.9184 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.7742, allocations: 11.92 kB / 0.9184 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7742, allocations: 0 / 0.9184 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.7748, allocations: 399.6 kB / 0.9188 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.7749, allocations: 63.66 kB / 0.9189 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.775, allocations: 8 kB / 0.9189 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.7752, allocations: 11.98 kB / 0.9189 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.7752, allocations: 19.97 kB / 0.9189 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.7753, allocations: 8.875 kB / 0.9189 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002214/0.7755, allocations: 227 kB / 0.9192 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.7755, allocations: 0 / 0.9192 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005089/0.776, allocations: 127.8 kB / 0.9193 GB, free: 3.312 MB / 0.6856 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.00128/0.7773, allocations: 1.048 MB / 0.9203 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005075/0.7778, allocations: 222.6 kB / 0.9205 GB, free: 2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7778, allocations: 384 / 0.9205 GB, free: 2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.778, allocations: 115.8 kB / 0.9206 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.7788, allocations: 158.5 kB / 0.9208 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.783, allocations: 3.066 MB / 0.9238 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.7834, allocations: 0.7911 MB / 0.9245 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002826/0.7837, allocations: 82.38 kB / 0.9246 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.7839, allocations: 99.41 kB / 0.9247 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of SimCode: time 8.32e-07/0.7839, allocations: 0 / 0.9247 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03895/0.8229, allocations: 10.72 MB / 0.9352 GB, free: 3.059 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.83, allocations: 10.25 kB / 0.9352 GB, free: 3.051 MB / 0.7012 GB " [Timeout remaining time 648] (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: 15.465803859988227] Failed to read output from testmodel.py, exit status != 0: 11.940723797073588 11.965557693 11.200364474 Calling exit ...