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.001308/0.001308, allocations: 114.5 kB / 17.13 MB, free: 6.047 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.001926/0.001926, allocations: 207.2 kB / 20.09 MB, free: 3.098 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.427/1.427, allocations: 230.6 MB / 253.5 MB, free: 15.05 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.9713/0.9713, allocations: 150 MB / 459.5 MB, free: 5.262 MB / 350.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.001947/0.001947, allocations: 66.92 kB / 0.6361 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1824, allocations: 89.14 MB / 0.7232 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.622/0.8044, allocations: 185.3 MB / 0.9042 GB, free: 2.629 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005405/0.8099, allocations: 4.464 MB / 0.9085 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008842/0.8107, allocations: 28.09 kB / 0.9086 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008151/0.8116, allocations: 253.4 kB / 0.9088 GB, free: 2.52 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.8137, allocations: 0.7865 MB / 0.9096 GB, free: 2.484 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.8173, allocations: 1.552 MB / 0.9111 GB, free: 2.422 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.8189, allocations: 1.243 MB / 0.9123 GB, free: 2.422 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005125/0.8195, allocations: 396 kB / 0.9127 GB, free: 2.387 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.8209, allocations: 0.8197 MB / 0.9135 GB, free: 2.371 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.8214, allocations: 420.3 kB / 0.9139 GB, free: 2.371 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.086e-05/0.8214, allocations: 48.09 kB / 0.9139 GB, free: 2.371 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.8239, allocations: 1.626 MB / 0.9155 GB, free: 2.359 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.8241, allocations: 188.8 kB / 0.9157 GB, free: 2.359 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.8244, allocations: 305.5 kB / 0.916 GB, free: 2.359 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.8266, allocations: 1.318 MB / 0.9173 GB, free: 2.207 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8266, allocations: 0 / 0.9173 GB, free: 2.207 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8266, allocations: 0 / 0.9173 GB, free: 2.207 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.8266, allocations: 0 / 0.9173 GB, free: 2.207 MB / 0.67 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.001883/0.8285, allocations: 1.044 MB / 0.9183 GB, free: 17.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.8285, allocations: 10.28 kB / 0.9183 GB, free: 17.52 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.391e-05/0.8286, allocations: 79.88 kB / 0.9184 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.8305, allocations: 286.6 kB / 0.9187 GB, free: 17.44 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.8312, allocations: 481 kB / 0.9191 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.8312, allocations: 27.75 kB / 0.9191 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.8313, allocations: 43.41 kB / 0.9192 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008991/0.8322, allocations: 0.5551 MB / 0.9197 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.8322, allocations: 7.875 kB / 0.9197 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.8323, allocations: 23.75 kB / 0.9198 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.8323, allocations: 11.16 kB / 0.9198 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/0.8332, allocations: 457.6 kB / 0.9202 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.8356, allocations: 2.116 MB / 0.9223 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008723/0.8365, allocations: 392.9 kB / 0.9226 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.8369, allocations: 212.2 kB / 0.9228 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006675/0.8376, allocations: 402.8 kB / 0.9232 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000549/0.8381, allocations: 290.5 kB / 0.9235 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 1.993e-06/0.8381, allocations: 0 / 0.9235 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.001678/0.8398, allocations: 0.6931 MB / 0.9242 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.8399, allocations: 63.23 kB / 0.9242 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005291/0.8404, allocations: 490.8 kB / 0.9247 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.8404, allocations: 35.95 kB / 0.9247 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.8406, allocations: 262.1 kB / 0.925 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.688e-05/0.8407, allocations: 130.8 kB / 0.9251 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.8408, allocations: 93.56 kB / 0.9252 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.841, allocations: 366.3 kB / 0.9256 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.8414, allocations: 202.2 kB / 0.9258 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.8419, allocations: 318.5 kB / 0.9261 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008802/0.8428, allocations: 0.5432 MB / 0.9266 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8428, allocations: 6.312 kB / 0.9266 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001182/0.844, allocations: 0.6402 MB / 0.9272 GB, free: 14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.8441, allocations: 64.81 kB / 0.9273 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8441, allocations: 0 / 0.9273 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.8441, allocations: 5.062 kB / 0.9273 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.8445, allocations: 100.1 kB / 0.9274 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.8445, allocations: 8.75 kB / 0.9274 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.845, allocations: 83.67 kB / 0.9275 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.845, allocations: 26.38 kB / 0.9275 GB, free: 13.9 MB / 0.6856 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.0002266/0.8453, allocations: 190.4 kB / 0.9277 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.8453, allocations: 58.05 kB / 0.9277 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.8465, allocations: 0.5367 MB / 0.9283 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.8465, allocations: 2.312 kB / 0.9283 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8465, allocations: 0 / 0.9283 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.8465, allocations: 2.484 kB / 0.9283 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.8484, allocations: 1.359 MB / 0.9296 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.8484, allocations: 5.656 kB / 0.9296 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.8488, allocations: 77.92 kB / 0.9297 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.8488, allocations: 4.938 kB / 0.9297 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.8488, allocations: 13.84 kB / 0.9297 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.8488, allocations: 7.969 kB / 0.9297 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8489, allocations: 5.281 kB / 0.9297 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.8504, allocations: 0.945 MB / 0.9306 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.8506, allocations: 169.3 kB / 0.9308 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/0.8506, allocations: 14.89 kB / 0.9308 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.8511, allocations: 30.69 kB / 0.9308 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.8512, allocations: 58.12 kB / 0.9309 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.8512, allocations: 19.66 kB / 0.9309 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003589/0.8516, allocations: 342.4 kB / 0.9312 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8516, allocations: 0 / 0.9312 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005552/0.8521, allocations: 155.1 kB / 0.9314 GB, free: 12.71 MB / 0.6856 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.001996/0.8541, allocations: 1.565 MB / 0.9329 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.8553, allocations: 0.5696 MB / 0.9335 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8553, allocations: 0 / 0.9335 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.8558, allocations: 268.6 kB / 0.9337 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.8571, allocations: 283.9 kB / 0.934 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006879/0.864, allocations: 5.018 MB / 0.9389 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.8644, allocations: 0.8685 MB / 0.9397 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004511/0.8649, allocations: 130.5 kB / 0.9399 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.8652, allocations: 177.3 kB / 0.94 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of SimCode: time 7.32e-07/0.8652, allocations: 4 kB / 0.94 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04255/0.9077, allocations: 15.92 MB / 0.9556 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.773/9.681, allocations: 11.94 kB / 0.9556 GB, free: 1.086 MB / 0.6856 GB " [Timeout remaining time 650] (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: 13.565476865042001] Failed to read output from testmodel.py, exit status != 0: 9.75608773296699 9.769550337 8.94015576 Calling exit ...