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.001315/0.001315, 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.001557/0.001557, allocations: 222.6 kB / 23.01 MB, free: 5.047 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 / 256.8 MB, free: 8.008 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.9197/0.9197, allocations: 150 MB / 463.2 MB, free: 10.49 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.002016/0.002016, allocations: 63.92 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1867, allocations: 89.17 MB / 0.7284 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6144/0.8011, allocations: 185.6 MB / 0.9096 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006929/0.808, allocations: 4.497 MB / 0.914 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007175/0.8087, allocations: 27.75 kB / 0.9141 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008545/0.8096, allocations: 258 kB / 0.9143 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.8118, allocations: 0.7893 MB / 0.9151 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004057/0.8158, allocations: 1.61 MB / 0.9167 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.8177, allocations: 1.266 MB / 0.9179 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000752/0.8185, allocations: 361.5 kB / 0.9182 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.8203, allocations: 0.8408 MB / 0.9191 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007376/0.821, allocations: 418.3 kB / 0.9195 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.8212, allocations: 44 kB / 0.9195 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.8243, allocations: 1.664 MB / 0.9211 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.8245, allocations: 195.4 kB / 0.9213 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.825, allocations: 298.5 kB / 0.9216 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002455/0.8274, allocations: 1.318 MB / 0.9229 GB, free: 56 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8274, allocations: 7.938 kB / 0.9229 GB, free: 48 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8274, allocations: 0 / 0.9229 GB, free: 48 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.736e-05/0.8275, allocations: 0 / 0.9229 GB, free: 48 kB / 0.6856 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.001972/0.8294, allocations: 0.9643 MB / 0.9238 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.8295, allocations: 12.03 kB / 0.9238 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.914e-05/0.8296, allocations: 78.53 kB / 0.9239 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.8316, allocations: 291.3 kB / 0.9242 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/0.8325, allocations: 394.6 kB / 0.9246 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/0.8326, allocations: 37 kB / 0.9246 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.291e-05/0.8326, allocations: 40 kB / 0.9246 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.8337, allocations: 0.5507 MB / 0.9252 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.8337, allocations: 4.5 kB / 0.9252 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.8337, allocations: 20 kB / 0.9252 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.8338, allocations: 11.94 kB / 0.9252 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.8348, allocations: 455.6 kB / 0.9257 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.8375, allocations: 2.081 MB / 0.9277 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009337/0.8384, allocations: 390.4 kB / 0.9281 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.8389, allocations: 217.9 kB / 0.9283 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/0.8394, allocations: 95.75 kB / 0.9284 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006068/0.8401, allocations: 295.7 kB / 0.9286 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=37): time 2.013e-06/0.8401, allocations: 0 / 0.9286 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37): time 0.001724/0.8418, allocations: 0.6935 MB / 0.9293 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.8418, allocations: 55.41 kB / 0.9294 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.8424, allocations: 494.1 kB / 0.9298 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.8425, allocations: 37.7 kB / 0.9299 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.8427, allocations: 260.5 kB / 0.9301 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.8428, allocations: 130.9 kB / 0.9302 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.843, allocations: 98.02 kB / 0.9303 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.8431, allocations: 366.7 kB / 0.9307 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.8436, allocations: 200.8 kB / 0.9309 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.8442, allocations: 319.7 kB / 0.9312 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.8452, allocations: 0.5447 MB / 0.9317 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8452, allocations: 0 / 0.9317 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001303/0.8465, allocations: 0.6448 MB / 0.9323 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.8466, allocations: 59.41 kB / 0.9324 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.8466, allocations: 4.688 kB / 0.9324 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.8466, allocations: 4 kB / 0.9324 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.8471, allocations: 99.81 kB / 0.9325 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.8471, allocations: 7.984 kB / 0.9325 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.8476, allocations: 87.77 kB / 0.9326 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.8477, allocations: 20 kB / 0.9326 GB, free: 5.645 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.0002542/0.8479, allocations: 190.4 kB / 0.9328 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.92e-05/0.848, allocations: 60.88 kB / 0.9329 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.8493, allocations: 0.5351 MB / 0.9334 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.8493, allocations: 4 kB / 0.9334 GB, free: 4.84 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8493, allocations: 0 / 0.9334 GB, free: 4.84 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.8493, allocations: 3.984 kB / 0.9334 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.8517, allocations: 1.33 MB / 0.9347 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8517, allocations: 4 kB / 0.9347 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.8521, allocations: 76.31 kB / 0.9348 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.8521, allocations: 8 kB / 0.9348 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.8521, allocations: 8 kB / 0.9348 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.8521, allocations: 11.94 kB / 0.9348 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.8521, allocations: 4 kB / 0.9348 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.8538, allocations: 0.9368 MB / 0.9357 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.8541, allocations: 99.62 kB / 0.9358 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/0.8542, allocations: 19.92 kB / 0.9358 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.8546, allocations: 35.95 kB / 0.9359 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.8547, allocations: 55.66 kB / 0.9359 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.8547, allocations: 16 kB / 0.9359 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004175/0.8552, allocations: 346.8 kB / 0.9363 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.8552, allocations: 0 / 0.9363 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000566/0.8557, allocations: 155.8 kB / 0.9364 GB, free: 1.598 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.002186/0.8579, allocations: 1.56 MB / 0.9379 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.8591, allocations: 0.5732 MB / 0.9385 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8591, allocations: 0 / 0.9385 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006208/0.8597, allocations: 267.6 kB / 0.9387 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.8611, allocations: 284.4 kB / 0.939 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007993/0.8691, allocations: 5.023 MB / 0.9439 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.8696, allocations: 0.8665 MB / 0.9448 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004586/0.87, allocations: 132.6 kB / 0.9449 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.8703, allocations: 175.4 kB / 0.9451 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.8703, allocations: 0 / 0.9451 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.9225, allocations: 16.31 MB / 0.961 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.47, allocations: 5.062 kB / 0.961 GB, free: 8.387 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.157120506977662] Failed to read output from testmodel.py, exit status != 0: 12.5779920630157 12.601768107 11.769738737 Calling exit ...