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.0007746/0.0007746, 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.0007867/0.0007867, 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.9273/0.9273, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.571/0.571, 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.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 1.813e-06/1.813e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.376e-05, allocations: 6.219 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4273/0.4273, allocations: 160.5 MB / 0.7109 GB, free: 41.51 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004544/0.4318, allocations: 4.119 MB / 0.715 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006385/0.4325, allocations: 27.84 kB / 0.715 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.4331, allocations: 252.4 kB / 0.7152 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.435, allocations: 0.7733 MB / 0.716 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.4379, allocations: 1.61 MB / 0.7175 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.439, allocations: 1.22 MB / 0.7187 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.4394, allocations: 334.6 kB / 0.7191 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.4405, allocations: 0.9738 MB / 0.72 GB, free: 41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.4408, allocations: 352.6 kB / 0.7203 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.4409, allocations: 46.03 kB / 0.7204 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.4425, allocations: 1.266 MB / 0.7216 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.4427, allocations: 199.3 kB / 0.7218 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.4428, allocations: 210.7 kB / 0.722 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.4444, allocations: 1.323 MB / 0.7233 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4444, allocations: 0.75 kB / 0.7233 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4444, allocations: 2.906 kB / 0.7233 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.4444, allocations: 0.875 kB / 0.7233 GB, free: 40.66 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.001099/0.4455, allocations: 0.9544 MB / 0.7242 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4455, allocations: 10.88 kB / 0.7243 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.714e-05/0.4456, allocations: 79.27 kB / 0.7243 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.4467, allocations: 289.4 kB / 0.7246 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.4472, allocations: 390.8 kB / 0.725 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.4472, allocations: 31.62 kB / 0.725 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.4472, allocations: 45.34 kB / 0.7251 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/0.4478, allocations: 0.5513 MB / 0.7256 GB, free: 39.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4479, allocations: 5.469 kB / 0.7256 GB, free: 39.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.4479, allocations: 19.41 kB / 0.7256 GB, free: 39.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.4479, allocations: 13.34 kB / 0.7256 GB, free: 39.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.4485, allocations: 454.7 kB / 0.7261 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.4503, allocations: 1.778 MB / 0.7278 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.4511, allocations: 390.9 kB / 0.7282 GB, free: 38.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.4514, allocations: 224.3 kB / 0.7284 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003291/0.4517, allocations: 88.19 kB / 0.7285 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/0.4521, allocations: 295 kB / 0.7288 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 2.725e-06/0.4521, allocations: 1.094 kB / 0.7288 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001099/0.4532, allocations: 0.6909 MB / 0.7294 GB, free: 38.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.4532, allocations: 59.11 kB / 0.7295 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.4536, allocations: 495 kB / 0.73 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.4536, allocations: 33.73 kB / 0.73 GB, free: 38.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.4538, allocations: 260.6 kB / 0.7302 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.4538, allocations: 128.2 kB / 0.7304 GB, free: 38.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4539, allocations: 92.7 kB / 0.7304 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.454, allocations: 366.3 kB / 0.7308 GB, free: 37.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.4543, allocations: 249 kB / 0.731 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.4546, allocations: 0.4925 MB / 0.7315 GB, free: 37.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.4552, allocations: 0.5433 MB / 0.732 GB, free: 37.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4552, allocations: 2.281 kB / 0.732 GB, free: 37.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008042/0.4561, allocations: 0.7039 MB / 0.7327 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.4561, allocations: 66.02 kB / 0.7328 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.4561, allocations: 5.812 kB / 0.7328 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4561, allocations: 6.094 kB / 0.7328 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.4564, allocations: 97.61 kB / 0.7329 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.4564, allocations: 5.719 kB / 0.7329 GB, free: 36.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.4567, allocations: 80.14 kB / 0.733 GB, free: 36.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.4567, allocations: 24.05 kB / 0.733 GB, free: 36.94 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.0001601/0.4569, allocations: 190.4 kB / 0.7332 GB, free: 36.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.4569, allocations: 62.42 kB / 0.7332 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007929/0.4577, allocations: 0.5434 MB / 0.7338 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4577, allocations: 3.938 kB / 0.7338 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4578, allocations: 5.438 kB / 0.7338 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4578, allocations: 1.5 kB / 0.7338 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.4593, allocations: 1.262 MB / 0.735 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.4593, allocations: 2.938 kB / 0.735 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.4596, allocations: 81.56 kB / 0.7351 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4596, allocations: 6.188 kB / 0.7351 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.4596, allocations: 13.44 kB / 0.7351 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.4596, allocations: 5.938 kB / 0.7351 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.4596, allocations: 8.719 kB / 0.7351 GB, free: 36.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.4608, allocations: 0.9358 MB / 0.736 GB, free: 36.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.4609, allocations: 106.8 kB / 0.7362 GB, free: 36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.461, allocations: 11.39 kB / 0.7362 GB, free: 36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.4612, allocations: 35.33 kB / 0.7362 GB, free: 36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4613, allocations: 53.36 kB / 0.7362 GB, free: 36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.4613, allocations: 16.39 kB / 0.7363 GB, free: 36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003172/0.4616, allocations: 340.3 kB / 0.7366 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4616, allocations: 0.9062 kB / 0.7366 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004881/0.4621, allocations: 148.7 kB / 0.7367 GB, free: 35.91 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.001392/0.4635, allocations: 1.539 MB / 0.7382 GB, free: 35.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008244/0.4643, allocations: 0.6293 MB / 0.7388 GB, free: 34.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4643, allocations: 2.219 kB / 0.7388 GB, free: 34.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.4648, allocations: 268.5 kB / 0.7391 GB, free: 34.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.4656, allocations: 275.1 kB / 0.7394 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005709/0.4713, allocations: 5.182 MB / 0.7444 GB, free: 32.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.4716, allocations: 264.3 kB / 0.7447 GB, free: 32.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005263/0.4721, allocations: 126.5 kB / 0.7448 GB, free: 32.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.4724, allocations: 176 kB / 0.745 GB, free: 32.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.493e-06/0.4724, allocations: 2.219 kB / 0.745 GB, free: 32.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.5038, allocations: 17.39 MB / 0.762 GB, free: 30.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/7.792, allocations: 6.469 kB / 0.762 GB, free: 30.28 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 & /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: 10.328202060423791] Failed to read output from testmodel.py, exit status != 0: 7.885366496630013 7.899256229 7.451895884 Calling exit ...