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.001807/0.001807, 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.002134/0.002134, allocations: 225 kB / 23.01 MB, free: 5.051 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.982/0.982, allocations: 150 MB / 463.2 MB, free: 10.45 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",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.003115/0.003115, allocations: 63.31 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1722, allocations: 89.18 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5657/0.7379, allocations: 185.6 MB / 0.9097 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006465/0.7444, allocations: 4.5 MB / 0.914 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006227/0.745, allocations: 27.75 kB / 0.9141 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007464/0.7458, allocations: 250.1 kB / 0.9143 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.7477, allocations: 0.7892 MB / 0.9151 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.7515, allocations: 1.603 MB / 0.9167 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.7532, allocations: 1.27 MB / 0.9179 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.7538, allocations: 360.1 kB / 0.9182 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.7556, allocations: 0.8331 MB / 0.919 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.7562, allocations: 422.3 kB / 0.9195 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.822e-05/0.7563, allocations: 48 kB / 0.9195 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.7592, allocations: 1.656 MB / 0.9211 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.7594, allocations: 195.4 kB / 0.9213 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.7598, allocations: 306.5 kB / 0.9216 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.762, allocations: 1.312 MB / 0.9229 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.762, allocations: 3.938 kB / 0.9229 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.673e-06/0.762, allocations: 0 / 0.9229 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.762, allocations: 4 kB / 0.9229 GB, free: 15.97 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.001725/0.7638, allocations: 0.9682 MB / 0.9238 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.7638, allocations: 8.031 kB / 0.9238 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.707e-05/0.7639, allocations: 82.47 kB / 0.9239 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.7659, allocations: 287.3 kB / 0.9242 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008163/0.7667, allocations: 402.6 kB / 0.9246 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.7667, allocations: 37 kB / 0.9246 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/0.7668, allocations: 40.56 kB / 0.9246 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009998/0.7678, allocations: 0.5507 MB / 0.9252 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.7678, allocations: 7.875 kB / 0.9252 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.7678, allocations: 16 kB / 0.9252 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.7679, allocations: 12 kB / 0.9252 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009928/0.7689, allocations: 459.5 kB / 0.9257 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.7715, allocations: 2.074 MB / 0.9277 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/0.7724, allocations: 394.4 kB / 0.9281 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.7729, allocations: 222.3 kB / 0.9283 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005442/0.7734, allocations: 95.75 kB / 0.9284 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006143/0.774, allocations: 298.8 kB / 0.9286 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=37): time 1.933e-06/0.774, allocations: 0 / 0.9286 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37): time 0.001716/0.7757, allocations: 0.6858 MB / 0.9293 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.7758, allocations: 55.41 kB / 0.9294 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.7763, allocations: 494.1 kB / 0.9298 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.7764, allocations: 33.7 kB / 0.9299 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.7766, allocations: 264.5 kB / 0.9301 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.7767, allocations: 134.9 kB / 0.9303 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.7769, allocations: 94.08 kB / 0.9303 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.7771, allocations: 370.7 kB / 0.9307 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.7775, allocations: 196.8 kB / 0.9309 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.7781, allocations: 312.2 kB / 0.9312 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009899/0.7791, allocations: 0.5447 MB / 0.9317 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.7791, allocations: 4 kB / 0.9317 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001265/0.7803, allocations: 0.6411 MB / 0.9323 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.7804, allocations: 67.44 kB / 0.9324 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7804, allocations: 0.8125 kB / 0.9324 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.7804, allocations: 8 kB / 0.9324 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.7809, allocations: 95.81 kB / 0.9325 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.7809, allocations: 10.66 kB / 0.9325 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.7814, allocations: 83.5 kB / 0.9326 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.7815, allocations: 20 kB / 0.9326 GB, free: 5.574 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.0002557/0.7817, allocations: 197.6 kB / 0.9328 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.7818, allocations: 55.62 kB / 0.9329 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.783, allocations: 0.5361 MB / 0.9334 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.783, allocations: 4 kB / 0.9334 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.783, allocations: 4 kB / 0.9334 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.783, allocations: 3.984 kB / 0.9334 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.7854, allocations: 1.326 MB / 0.9347 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.7854, allocations: 4 kB / 0.9347 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.7858, allocations: 79.81 kB / 0.9348 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.7858, allocations: 4 kB / 0.9348 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.7858, allocations: 12 kB / 0.9348 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.7858, allocations: 8.375 kB / 0.9348 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.7858, allocations: 8 kB / 0.9348 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.7875, allocations: 0.9408 MB / 0.9357 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.7877, allocations: 91.5 kB / 0.9358 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.153e-05/0.7878, allocations: 23.92 kB / 0.9358 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.7882, allocations: 36.03 kB / 0.9359 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.7883, allocations: 51.72 kB / 0.9359 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.7884, allocations: 19.98 kB / 0.9359 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004308/0.7888, allocations: 342.8 kB / 0.9363 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.7888, allocations: 0 / 0.9363 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005977/0.7894, allocations: 155.8 kB / 0.9364 GB, free: 1.523 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.002201/0.7916, allocations: 1.555 MB / 0.9379 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.7928, allocations: 0.5688 MB / 0.9385 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7928, allocations: 0 / 0.9385 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/0.7935, allocations: 280.9 kB / 0.9387 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.7948, allocations: 283.2 kB / 0.939 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.8024, allocations: 5.019 MB / 0.9439 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.8029, allocations: 0.8665 MB / 0.9448 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004954/0.8034, allocations: 128.7 kB / 0.9449 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.8037, allocations: 175.4 kB / 0.9451 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of SimCode: time 1.011e-06/0.8037, allocations: 0 / 0.9451 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04597/0.8497, allocations: 16.31 MB / 0.961 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.51, allocations: 4 kB / 0.961 GB, free: 8.316 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb_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_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.41077220399893] Failed to read output from testmodel.py, exit status != 0: 12.63027770899862 12.656943706 11.89002514 Calling exit ...