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.0007976/0.0007976, 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.0008692/0.0008692, allocations: 174.3 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.8826/0.8826, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5543/0.5543, allocations: 114 MB / 373.9 MB, free: 8.703 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.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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.532e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4602/0.4602, allocations: 160.5 MB / 0.7109 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004535/0.4647, allocations: 4.127 MB / 0.715 GB, free: 41.51 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005991/0.4653, allocations: 27.16 kB / 0.715 GB, free: 41.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005987/0.4659, allocations: 255.5 kB / 0.7152 GB, free: 41.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.4676, allocations: 0.7747 MB / 0.716 GB, free: 41.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.4705, allocations: 1.605 MB / 0.7176 GB, free: 41.42 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.472, allocations: 1.219 MB / 0.7187 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/0.4725, allocations: 337.4 kB / 0.7191 GB, free: 41.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.4742, allocations: 0.9744 MB / 0.72 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.4746, allocations: 351.2 kB / 0.7204 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.4746, allocations: 46.28 kB / 0.7204 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.4767, allocations: 1.259 MB / 0.7216 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.4769, allocations: 203.8 kB / 0.7218 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.4772, allocations: 210.7 kB / 0.722 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.4793, allocations: 1.323 MB / 0.7233 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4793, allocations: 0.9062 kB / 0.7233 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4793, allocations: 0 / 0.7233 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4793, allocations: 0.7812 kB / 0.7233 GB, free: 40.73 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001093/0.4804, allocations: 0.9521 MB / 0.7242 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4804, allocations: 11.44 kB / 0.7243 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.753e-05/0.4805, allocations: 78.62 kB / 0.7243 GB, free: 40.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.4817, allocations: 291.9 kB / 0.7246 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006338/0.4823, allocations: 399.2 kB / 0.725 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.4824, allocations: 31.06 kB / 0.725 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.4824, allocations: 39.44 kB / 0.7251 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.483, allocations: 0.5567 MB / 0.7256 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4831, allocations: 0.8438 kB / 0.7256 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.4831, allocations: 13.22 kB / 0.7256 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.4831, allocations: 17.91 kB / 0.7256 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.4838, allocations: 456.8 kB / 0.7261 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.4858, allocations: 1.775 MB / 0.7278 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/0.4865, allocations: 394.5 kB / 0.7282 GB, free: 38.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.4868, allocations: 217.5 kB / 0.7284 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/0.4872, allocations: 90.48 kB / 0.7285 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.4876, allocations: 295 kB / 0.7287 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 2.765e-06/0.4876, allocations: 0.7188 kB / 0.7288 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001192/0.4888, allocations: 0.6923 MB / 0.7294 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.4888, allocations: 56.72 kB / 0.7295 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.4892, allocations: 493.9 kB / 0.73 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.4893, allocations: 39.67 kB / 0.73 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.4894, allocations: 257.1 kB / 0.7302 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.4895, allocations: 128.2 kB / 0.7304 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.4896, allocations: 94.66 kB / 0.7304 GB, free: 38.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.4896, allocations: 363.5 kB / 0.7308 GB, free: 37.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.4899, allocations: 252.1 kB / 0.731 GB, free: 37.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.4903, allocations: 0.4922 MB / 0.7315 GB, free: 37.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.491, allocations: 0.5442 MB / 0.732 GB, free: 37.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.491, allocations: 0 / 0.732 GB, free: 37.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008653/0.4918, allocations: 0.7049 MB / 0.7327 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.4919, allocations: 61.7 kB / 0.7328 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4919, allocations: 3.719 kB / 0.7328 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4919, allocations: 6.406 kB / 0.7328 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.4922, allocations: 96.66 kB / 0.7329 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4922, allocations: 6.344 kB / 0.7329 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.4925, allocations: 81.7 kB / 0.733 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.4926, allocations: 22.28 kB / 0.733 GB, free: 37.02 MB / 0.6355 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.0001836/0.4927, allocations: 195 kB / 0.7332 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.4928, allocations: 65.16 kB / 0.7332 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008054/0.4936, allocations: 0.5429 MB / 0.7338 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4936, allocations: 4.5 kB / 0.7338 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4936, allocations: 0 / 0.7338 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.4936, allocations: 5.047 kB / 0.7338 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.4953, allocations: 1.256 MB / 0.735 GB, free: 36.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4953, allocations: 4.812 kB / 0.735 GB, free: 36.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.4955, allocations: 79.53 kB / 0.7351 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.4955, allocations: 9.125 kB / 0.7351 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.4955, allocations: 12.73 kB / 0.7351 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/0.4955, allocations: 11.34 kB / 0.7351 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.4955, allocations: 8.547 kB / 0.7351 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.4967, allocations: 0.935 MB / 0.736 GB, free: 36.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.4968, allocations: 108.8 kB / 0.7362 GB, free: 36.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.4969, allocations: 12.56 kB / 0.7362 GB, free: 36.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.4971, allocations: 38.25 kB / 0.7362 GB, free: 36.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4972, allocations: 50.97 kB / 0.7362 GB, free: 36.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.4972, allocations: 15.25 kB / 0.7363 GB, free: 36.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000327/0.4976, allocations: 341.8 kB / 0.7366 GB, free: 35.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4976, allocations: 0 / 0.7366 GB, free: 35.99 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000538/0.4981, allocations: 150.2 kB / 0.7367 GB, free: 35.98 MB / 0.6355 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.001653/0.4998, allocations: 1.542 MB / 0.7382 GB, free: 35.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009707/0.5007, allocations: 0.6253 MB / 0.7388 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5007, allocations: 0 / 0.7388 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.5012, allocations: 274.5 kB / 0.7391 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/0.5022, allocations: 273.9 kB / 0.7394 GB, free: 34.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/0.5078, allocations: 5.181 MB / 0.7444 GB, free: 32.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.5081, allocations: 264.8 kB / 0.7447 GB, free: 32.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004696/0.5086, allocations: 125.8 kB / 0.7448 GB, free: 32.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.5088, allocations: 177 kB / 0.745 GB, free: 32.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.353e-06/0.5088, allocations: 0 / 0.745 GB, free: 32.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.5443, allocations: 17.39 MB / 0.762 GB, free: 30.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/7.932, allocations: 0 / 0.762 GB, free: 30.36 MB / 0.6355 GB " [Timeout remaining time 652] (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: 10.558658118359745] Failed to read output from testmodel.py, exit status != 0: 8.031443658284843 8.043166325 7.561753563 Calling exit ...