Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001341/0.001341, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001452/0.001452, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002497/0.002497, allocations: 281.8 kB / 313.5 MB, free: 2.945 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.225/1.225, allocations: 180.6 MB / 0.5377 GB, free: 13.01 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002903/0.002903, allocations: 106.5 kB / 0.7408 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2029, allocations: 95.38 MB / 0.834 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00305/0.206, allocations: 1.618 MB / 0.8355 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.2078, allocations: 1.004 MB / 0.8365 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.2078, allocations: 0 / 0.8365 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.2079, allocations: 3.938 kB / 0.8365 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.2081, allocations: 27.78 kB / 0.8366 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.2085, allocations: 160.5 kB / 0.8367 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.2087, allocations: 79.66 kB / 0.8368 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.2088, allocations: 11.98 kB / 0.8368 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.2089, allocations: 35.92 kB / 0.8368 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.209, allocations: 43.7 kB / 0.8369 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2091, allocations: 4 kB / 0.8369 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.2095, allocations: 287.7 kB / 0.8371 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.2095, allocations: 15.98 kB / 0.8372 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.2095, allocations: 35.8 kB / 0.8372 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.2098, allocations: 163.3 kB / 0.8374 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2098, allocations: 0 / 0.8374 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2098, allocations: 0 / 0.8374 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.2098, allocations: 0 / 0.8374 GB, free: 4.613 MB / 0.5762 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.0006014/0.2104, allocations: 337.7 kB / 0.8377 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2105, allocations: 9.938 kB / 0.8377 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.2108, allocations: 40.81 kB / 0.8377 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.211, allocations: 132.8 kB / 0.8378 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.211, allocations: 8.359 kB / 0.8379 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.211, allocations: 4.375 kB / 0.8379 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.2112, allocations: 65.92 kB / 0.8379 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2112, allocations: 0 / 0.8379 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2112, allocations: 4 kB / 0.8379 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2112, allocations: 4 kB / 0.8379 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.2114, allocations: 43.95 kB / 0.838 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.2119, allocations: 271.8 kB / 0.8382 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.212, allocations: 46.56 kB / 0.8383 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.2121, allocations: 40.89 kB / 0.8383 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.2121, allocations: 0 / 0.8383 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.2122, allocations: 38.56 kB / 0.8384 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2122, allocations: 3.938 kB / 0.8384 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003754/0.2125, allocations: 105.8 kB / 0.8385 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.2126, allocations: 51.41 kB / 0.8385 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.2127, allocations: 138.2 kB / 0.8386 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2127, allocations: 25.7 kB / 0.8387 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.2128, allocations: 96.12 kB / 0.8388 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.2128, allocations: 19.8 kB / 0.8388 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.2129, allocations: 21.7 kB / 0.8388 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.213, allocations: 322.8 kB / 0.8391 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.418e-05/0.2131, allocations: 27.92 kB / 0.8391 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.2131, allocations: 23.98 kB / 0.8392 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.2133, allocations: 52.83 kB / 0.8392 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2133, allocations: 0 / 0.8392 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000207/0.2135, allocations: 85.62 kB / 0.8393 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2135, allocations: 8 kB / 0.8393 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2135, allocations: 0 / 0.8393 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2135, allocations: 3.984 kB / 0.8393 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2137, allocations: 23.94 kB / 0.8393 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2137, allocations: 0 / 0.8393 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.2137, allocations: 7.984 kB / 0.8393 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2137, allocations: 0 / 0.8393 GB, free: 2.406 MB / 0.5762 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 9.528e-05/0.2138, allocations: 118.4 kB / 0.8394 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.2139, allocations: 7.953 kB / 0.8394 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.2141, allocations: 98.05 kB / 0.8395 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2141, allocations: 4 kB / 0.8395 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2141, allocations: 0 / 0.8395 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2141, allocations: 0 / 0.8395 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.2143, allocations: 164.7 kB / 0.8397 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.2143, allocations: 7.984 kB / 0.8397 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/0.2144, allocations: 16.19 kB / 0.8397 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2144, allocations: 3.984 kB / 0.8397 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.2144, allocations: 11.98 kB / 0.8397 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2144, allocations: 0 / 0.8397 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2144, allocations: 0 / 0.8397 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.2147, allocations: 187.4 kB / 0.8399 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.2147, allocations: 11.94 kB / 0.8399 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.2147, allocations: 3.938 kB / 0.8399 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.2148, allocations: 4 kB / 0.8399 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.2149, allocations: 7.984 kB / 0.8399 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.2149, allocations: 4 kB / 0.8399 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.432e-05/0.2149, allocations: 102.2 kB / 0.84 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2149, allocations: 0 / 0.84 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002424/0.2152, allocations: 31.92 kB / 0.8401 GB, free: 1.555 MB / 0.5762 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.0001725/0.2153, allocations: 107.2 kB / 0.8402 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.2156, allocations: 55.95 kB / 0.8402 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2156, allocations: 0 / 0.8402 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.2156, allocations: 31.92 kB / 0.8403 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.216, allocations: 21.31 kB / 0.8403 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.2164, allocations: 225.9 kB / 0.8405 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.2168, allocations: 0.6885 MB / 0.8412 GB, free: 380 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.2168, allocations: 15.44 kB / 0.8412 GB, free: 364 kB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2168, allocations: 0 / 0.8412 GB, free: 364 kB / 0.5762 GB Notification: Performance of Templates: time 0.003083/0.2199, allocations: 1.16 MB / 0.8423 GB, free: 15.2 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.41663911100477] Failed to read output from testmodel.py, exit status != 0: 0.22777248895727098 0.241891973 0.02916882 Calling exit ...