Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.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.001716/0.001716, allocations: 105.2 kB / 20.48 MB, free: 1.48 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.001438/0.001438, allocations: 217.7 kB / 23.79 MB, free: 4.699 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.405/1.405, allocations: 230.6 MB / 257.6 MB, free: 7.965 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.9226/0.9226, allocations: 150 MB / 464 MB, free: 10.44 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.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="cs",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.001974/0.001974, allocations: 66.19 kB / 0.642 GB, free: 10.28 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1864, allocations: 89.17 MB / 0.7291 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5638/0.7502, allocations: 185.6 MB / 0.9104 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007022/0.7572, allocations: 4.495 MB / 0.9148 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007624/0.758, allocations: 27.75 kB / 0.9148 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009051/0.7589, allocations: 262 kB / 0.9151 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.7611, allocations: 0.797 MB / 0.9159 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.7652, allocations: 1.593 MB / 0.9174 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.7671, allocations: 1.262 MB / 0.9187 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007488/0.7678, allocations: 360 kB / 0.919 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.7696, allocations: 0.8331 MB / 0.9198 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.7703, allocations: 426.2 kB / 0.9202 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.546e-05/0.7703, allocations: 44 kB / 0.9203 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.7733, allocations: 1.664 MB / 0.9219 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.7736, allocations: 195.4 kB / 0.9221 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.774, allocations: 310.4 kB / 0.9224 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.7762, allocations: 1.312 MB / 0.9236 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.7762, allocations: 0 / 0.9236 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7762, allocations: 0 / 0.9236 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.7762, allocations: 0 / 0.9236 GB, free: 15.96 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001878/0.7781, allocations: 0.9758 MB / 0.9246 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.7782, allocations: 12.03 kB / 0.9246 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.896e-05/0.7782, allocations: 9 kB / 0.9246 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.8e-05/0.7783, allocations: 82.52 kB / 0.9247 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.7802, allocations: 279.3 kB / 0.925 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008356/0.781, allocations: 410.6 kB / 0.9254 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.7811, allocations: 33 kB / 0.9254 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/0.7812, allocations: 43.98 kB / 0.9254 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.7822, allocations: 0.5507 MB / 0.926 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.7822, allocations: 0 / 0.926 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.7823, allocations: 16 kB / 0.926 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.7823, allocations: 12 kB / 0.926 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.7834, allocations: 459.5 kB / 0.9264 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.7862, allocations: 2.085 MB / 0.9285 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.7872, allocations: 388.1 kB / 0.9288 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.7877, allocations: 217.9 kB / 0.929 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005345/0.7882, allocations: 87.77 kB / 0.9291 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000672/0.7889, allocations: 294.9 kB / 0.9294 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=37): time 3.387e-06/0.7889, allocations: 3.938 kB / 0.9294 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37): time 0.001903/0.7908, allocations: 0.6896 MB / 0.9301 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.7909, allocations: 63.41 kB / 0.9301 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.7915, allocations: 486.1 kB / 0.9306 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.7915, allocations: 41.7 kB / 0.9307 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.7917, allocations: 260.5 kB / 0.9309 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.7919, allocations: 134.9 kB / 0.931 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.792, allocations: 90.08 kB / 0.9311 GB, free: 8 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.7922, allocations: 370.7 kB / 0.9315 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.7927, allocations: 196.8 kB / 0.9317 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.7933, allocations: 307.7 kB / 0.9319 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.7944, allocations: 0.5486 MB / 0.9325 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7944, allocations: 4 kB / 0.9325 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00137/0.7957, allocations: 0.6487 MB / 0.9331 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.7958, allocations: 59.41 kB / 0.9332 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7958, allocations: 0 / 0.9332 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.7958, allocations: 15.92 kB / 0.9332 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.7963, allocations: 91.88 kB / 0.9333 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.7963, allocations: 11.94 kB / 0.9333 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.7969, allocations: 84.23 kB / 0.9334 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.7969, allocations: 24 kB / 0.9334 GB, free: 5.535 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002692/0.7972, allocations: 186.2 kB / 0.9336 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.741e-05/0.7973, allocations: 63.61 kB / 0.9336 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.7985, allocations: 0.5417 MB / 0.9342 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.7985, allocations: 7.984 kB / 0.9342 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7985, allocations: 0 / 0.9342 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.7985, allocations: 0 / 0.9342 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.8009, allocations: 1.332 MB / 0.9355 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8009, allocations: 4 kB / 0.9355 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.8013, allocations: 75.88 kB / 0.9355 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.8013, allocations: 4.438 kB / 0.9356 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.8014, allocations: 12 kB / 0.9356 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.8014, allocations: 8 kB / 0.9356 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.8014, allocations: 7.938 kB / 0.9356 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.8031, allocations: 0.9408 MB / 0.9365 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.8034, allocations: 99.48 kB / 0.9366 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.8035, allocations: 8 kB / 0.9366 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.8039, allocations: 40.02 kB / 0.9366 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.804, allocations: 55.67 kB / 0.9367 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.804, allocations: 12 kB / 0.9367 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004562/0.8045, allocations: 350.8 kB / 0.937 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8045, allocations: 4 kB / 0.937 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005827/0.8051, allocations: 151.8 kB / 0.9372 GB, free: 1.488 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002488/0.8076, allocations: 1.553 MB / 0.9387 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.8089, allocations: 0.5688 MB / 0.9393 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.8089, allocations: 0.75 kB / 0.9393 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006748/0.8096, allocations: 271.6 kB / 0.9395 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.8112, allocations: 287.9 kB / 0.9398 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008445/0.8196, allocations: 5.024 MB / 0.9447 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.8202, allocations: 0.8743 MB / 0.9456 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005372/0.8207, allocations: 128.7 kB / 0.9457 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.821, allocations: 175.4 kB / 0.9458 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of SimCode: time 6.62e-07/0.821, allocations: 0 / 0.9458 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04581/0.8668, allocations: 16.33 MB / 0.9618 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.64, allocations: 6.812 kB / 0.9618 GB, free: 8.277 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.519544625014532] Failed to read output from testmodel.py, exit status != 0: 12.813243522017729 12.839711477 12.058033772 Calling exit ...