Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001312/0.001312, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001416/0.001416, allocations: 211.3 kB / 23.78 MB, free: 4.555 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.38/1.38, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.912/0.912, allocations: 150 MB / 464 MB, free: 10.18 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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",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.003149/0.003149, allocations: 62.5 kB / 0.642 GB, free: 9.859 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2324, allocations: 89.18 MB / 0.729 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00298/0.2354, allocations: 1.568 MB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.2371, allocations: 0.931 MB / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.2372, allocations: 0 / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.2372, allocations: 3.938 kB / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.2374, allocations: 31.72 kB / 0.7315 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.2378, allocations: 158.2 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.238, allocations: 83.64 kB / 0.7318 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.2381, allocations: 8 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2382, allocations: 35.92 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.846e-05/0.2383, allocations: 47.7 kB / 0.7318 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.2383, allocations: 4 kB / 0.7318 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.2387, allocations: 287.6 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.2388, allocations: 11.98 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.2388, allocations: 31.81 kB / 0.7322 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.2391, allocations: 155.7 kB / 0.7323 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2391, allocations: 3.938 kB / 0.7323 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2391, allocations: 0 / 0.7323 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2391, allocations: 0 / 0.7323 GB, free: 13.4 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005758/0.2397, allocations: 349.6 kB / 0.7326 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2397, allocations: 8.031 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.433e-05/0.2397, allocations: 4.188 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.2398, allocations: 34.75 kB / 0.7327 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.24, allocations: 32.86 kB / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.2403, allocations: 130.4 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2403, allocations: 11.88 kB / 0.7329 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.2403, allocations: 0 / 0.7329 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.2405, allocations: 65.59 kB / 0.7329 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2405, allocations: 4 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.2405, allocations: 8 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2405, allocations: 4 kB / 0.7329 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.2407, allocations: 39.97 kB / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.2411, allocations: 263.8 kB / 0.7332 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.2413, allocations: 54.48 kB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.2413, allocations: 24.97 kB / 0.7333 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2414, allocations: 8 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2414, allocations: 34.56 kB / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.2414, allocations: 0 / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003773/0.2418, allocations: 101.6 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.2418, allocations: 51.41 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.242, allocations: 147.4 kB / 0.7336 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.242, allocations: 25.7 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.242, allocations: 96.09 kB / 0.7337 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.2421, allocations: 19.89 kB / 0.7338 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.2421, allocations: 21.72 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2423, allocations: 322.8 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.2423, allocations: 19.98 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.2424, allocations: 19.98 kB / 0.7341 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.2426, allocations: 52.83 kB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2426, allocations: 0 / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002324/0.2428, allocations: 93.61 kB / 0.7343 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2428, allocations: 8 kB / 0.7343 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2428, allocations: 0 / 0.7343 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2428, allocations: 3.938 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2429, allocations: 19.97 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.243, allocations: 0 / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.243, allocations: 15.83 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.243, allocations: 4.438 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 8.471e-05/0.2431, allocations: 113.8 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.2432, allocations: 7.953 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.2434, allocations: 110 kB / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2434, allocations: 7.875 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2434, allocations: 0 / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2434, allocations: 3.938 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.2436, allocations: 144.7 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2436, allocations: 0 / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.2437, allocations: 19.98 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2437, allocations: 0 / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.2437, allocations: 0 / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2437, allocations: 4 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2437, allocations: 0 / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.244, allocations: 191.4 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.244, allocations: 7.953 kB / 0.7349 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.244, allocations: 3.984 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.2441, allocations: 4 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.2442, allocations: 11.86 kB / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.2442, allocations: 4 kB / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.645e-05/0.2443, allocations: 101.3 kB / 0.735 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2443, allocations: 4 kB / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002463/0.2445, allocations: 27.94 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006729/0.2452, allocations: 0.732 MB / 0.7358 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.2454, allocations: 55.91 kB / 0.7358 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2454, allocations: 0 / 0.7358 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.2455, allocations: 24.3 kB / 0.7358 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.2458, allocations: 30.78 kB / 0.7359 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.2476, allocations: 1.467 MB / 0.7373 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.2477, allocations: 79.33 kB / 0.7374 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.645e-05/0.2477, allocations: 4 kB / 0.7374 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.2478, allocations: 27.42 kB / 0.7374 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.2478, allocations: 0 / 0.7374 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.2729, allocations: 2.588 MB / 0.7399 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.36, allocations: 8.953 kB / 0.7399 GB, free: 5.352 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.0334125229856] Failed to read output from testmodel.py, exit status != 0: 11.54457868100144 11.570699853 11.326578456 Calling exit ...