Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001405/0.001405, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001625/0.001625, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.785 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.002567/0.002567, allocations: 291.3 kB / 312.7 MB, free: 2.594 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.219/1.219, allocations: 180.6 MB / 0.5369 GB, free: 14.42 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.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [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.004881/0.004881, allocations: 102.1 kB / 0.74 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2249, allocations: 95.37 MB / 0.8331 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003904/0.2288, allocations: 2.032 MB / 0.8351 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00221/0.231, allocations: 1.021 MB / 0.8361 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.2313, allocations: 3.938 kB / 0.8361 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2314, allocations: 27.66 kB / 0.8362 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.2318, allocations: 75.3 kB / 0.8362 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.2323, allocations: 206.1 kB / 0.8364 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.2328, allocations: 294.8 kB / 0.8367 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.233, allocations: 52.83 kB / 0.8368 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.2332, allocations: 103.6 kB / 0.8368 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.2335, allocations: 135.3 kB / 0.837 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.2336, allocations: 24 kB / 0.837 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005124/0.2341, allocations: 279.6 kB / 0.8373 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.2341, allocations: 39.84 kB / 0.8373 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.2343, allocations: 95.45 kB / 0.8374 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.2348, allocations: 342.5 kB / 0.8377 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2348, allocations: 0 / 0.8377 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2348, allocations: 0 / 0.8377 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.2348, allocations: 0 / 0.8377 GB, free: 3.125 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001302/0.2361, allocations: 0.5671 MB / 0.8383 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2362, allocations: 13.88 kB / 0.8383 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.2364, allocations: 36.75 kB / 0.8383 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.2369, allocations: 221.5 kB / 0.8385 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2369, allocations: 12.66 kB / 0.8385 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.2369, allocations: 12.38 kB / 0.8386 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.2375, allocations: 240.8 kB / 0.8388 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2375, allocations: 4 kB / 0.8388 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.2375, allocations: 4 kB / 0.8388 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2375, allocations: 4 kB / 0.8388 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.2382, allocations: 195.8 kB / 0.839 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2395, allocations: 0.8444 MB / 0.8398 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000802/0.2403, allocations: 241.2 kB / 0.84 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.2406, allocations: 97.64 kB / 0.8401 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.2406, allocations: 3.938 kB / 0.8401 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2407, allocations: 38.5 kB / 0.8402 GB, free: 468 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.2407, allocations: 0 / 0.8402 GB, free: 468 kB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001213/0.2419, allocations: 337.5 kB / 0.8405 GB, free: 124 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.2419, allocations: 85.11 kB / 0.8406 GB, free: 20 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.2423, allocations: 264.2 kB / 0.8408 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2423, allocations: 29.64 kB / 0.8409 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.2424, allocations: 168.3 kB / 0.841 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.2425, allocations: 51.55 kB / 0.8411 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.2426, allocations: 41.7 kB / 0.8411 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.2427, allocations: 334.8 kB / 0.8414 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.2431, allocations: 91.92 kB / 0.8415 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.2434, allocations: 140.5 kB / 0.8417 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/0.2441, allocations: 241.7 kB / 0.8419 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2441, allocations: 0 / 0.8419 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008922/0.245, allocations: 301.1 kB / 0.8422 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.245, allocations: 7.938 kB / 0.8422 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.245, allocations: 4 kB / 0.8422 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2451, allocations: 7.938 kB / 0.8422 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.2454, allocations: 56.11 kB / 0.8422 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.2454, allocations: 7.984 kB / 0.8422 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.2456, allocations: 39.86 kB / 0.8423 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.2456, allocations: 8 kB / 0.8423 GB, free: 14.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001506/0.2458, allocations: 134.4 kB / 0.8424 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2459, allocations: 31.75 kB / 0.8425 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008862/0.2468, allocations: 295.8 kB / 0.8427 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2468, allocations: 4 kB / 0.8427 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2468, allocations: 0 / 0.8427 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2468, allocations: 3.984 kB / 0.8427 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.2472, allocations: 209.1 kB / 0.8429 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2472, allocations: 0 / 0.8429 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.2475, allocations: 59.89 kB / 0.843 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2475, allocations: 0 / 0.843 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.2475, allocations: 7.938 kB / 0.843 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2475, allocations: 0 / 0.843 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2475, allocations: 0 / 0.843 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009127/0.2484, allocations: 452.7 kB / 0.8434 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.2485, allocations: 27.81 kB / 0.8435 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.2485, allocations: 3.938 kB / 0.8435 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.2488, allocations: 32.23 kB / 0.8435 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.2489, allocations: 15.97 kB / 0.8435 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2489, allocations: 12 kB / 0.8435 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000199/0.2491, allocations: 191 kB / 0.8437 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2491, allocations: 0 / 0.8437 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003748/0.2494, allocations: 55.94 kB / 0.8438 GB, free: 12.61 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002255/0.2497, allocations: 111.2 kB / 0.8439 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007921/0.2505, allocations: 227.6 kB / 0.8441 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2505, allocations: 0 / 0.8441 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.2508, allocations: 116.2 kB / 0.8442 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.2514, allocations: 65.44 kB / 0.8443 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.2523, allocations: 447 kB / 0.8447 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.2524, allocations: 155 kB / 0.8448 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.2526, allocations: 26.44 kB / 0.8449 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.2527, allocations: 27.44 kB / 0.8449 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.2527, allocations: 0 / 0.8449 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.009502/0.2622, allocations: 4.574 MB / 0.8493 GB, free: 6.953 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.210427930578589] Failed to read output from testmodel.py, exit status != 0: 0.2712026871740818 0.28548916599999996 0.04745552 Calling exit ...