Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007885/0.0007884, allocations: 91.38 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005265/0.0005265, allocations: 19.47 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2364, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002611/0.2391, allocations: 1.797 MB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.2408, allocations: 0.9683 MB / 0.79 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.2411, allocations: 7.938 kB / 0.79 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.051e-05/0.2411, allocations: 11.86 kB / 0.79 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.2415, allocations: 75.41 kB / 0.7901 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.2419, allocations: 131.8 kB / 0.7902 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.2423, allocations: 270.7 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.2424, allocations: 44.72 kB / 0.7905 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.2426, allocations: 87.64 kB / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.2428, allocations: 127.4 kB / 0.7907 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.2429, allocations: 11.94 kB / 0.7907 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.2433, allocations: 279.7 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.2434, allocations: 31.84 kB / 0.791 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.2434, allocations: 65.52 kB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.2437, allocations: 227.7 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2437, allocations: 4 kB / 0.7913 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2437, allocations: 0 / 0.7913 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.2437, allocations: 0 / 0.7913 GB, free: 7.77 MB / 0.6075 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.001015/0.2448, allocations: 0.6077 MB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2448, allocations: 12.03 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.245, allocations: 35.7 kB / 0.7919 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.2454, allocations: 270.3 kB / 0.7922 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.2455, allocations: 12.28 kB / 0.7922 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.2455, allocations: 16 kB / 0.7922 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005344/0.246, allocations: 252.3 kB / 0.7925 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2461, allocations: 3.938 kB / 0.7925 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.2461, allocations: 4 kB / 0.7925 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2461, allocations: 4 kB / 0.7925 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.2467, allocations: 235.8 kB / 0.7927 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.248, allocations: 0.9579 MB / 0.7936 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.2487, allocations: 261.2 kB / 0.7939 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.2491, allocations: 125.6 kB / 0.794 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.2491, allocations: 8 kB / 0.794 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.2491, allocations: 30.88 kB / 0.794 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.2491, allocations: 0 / 0.794 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001112/0.2503, allocations: 409.5 kB / 0.7944 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.2503, allocations: 81.11 kB / 0.7945 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.2506, allocations: 263 kB / 0.7948 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2506, allocations: 29.64 kB / 0.7948 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2507, allocations: 168.1 kB / 0.795 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.2508, allocations: 51.27 kB / 0.795 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.2508, allocations: 4 kB / 0.795 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2509, allocations: 338.7 kB / 0.7953 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.2512, allocations: 119.9 kB / 0.7954 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.2516, allocations: 162 kB / 0.7956 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.2519, allocations: 119.9 kB / 0.7957 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2519, allocations: 4 kB / 0.7957 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007691/0.2527, allocations: 337 kB / 0.796 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2527, allocations: 4.125 kB / 0.796 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2527, allocations: 8 kB / 0.796 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2527, allocations: 0 / 0.796 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.253, allocations: 71.89 kB / 0.7961 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.253, allocations: 4 kB / 0.7961 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.2533, allocations: 59.73 kB / 0.7962 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.2533, allocations: 4 kB / 0.7962 GB, free: 2.48 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.2534, allocations: 137.7 kB / 0.7963 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2535, allocations: 27.72 kB / 0.7963 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007544/0.2543, allocations: 335 kB / 0.7967 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2543, allocations: 4 kB / 0.7967 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2543, allocations: 0 / 0.7967 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2543, allocations: 288 / 0.7967 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.2547, allocations: 305.4 kB / 0.797 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2547, allocations: 0 / 0.797 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.2549, allocations: 67.89 kB / 0.797 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.255, allocations: 0 / 0.797 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.255, allocations: 8 kB / 0.797 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.255, allocations: 0 / 0.797 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.255, allocations: 3.938 kB / 0.797 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007739/0.2558, allocations: 482.2 kB / 0.7975 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.2558, allocations: 96.83 kB / 0.7976 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.2559, allocations: 7.953 kB / 0.7976 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.2561, allocations: 43.95 kB / 0.7976 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.2562, allocations: 15.98 kB / 0.7976 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2562, allocations: 4 kB / 0.7977 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000157/0.2564, allocations: 193.9 kB / 0.7978 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2564, allocations: 4 kB / 0.7978 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003596/0.2568, allocations: 64.08 kB / 0.7979 GB, free: 0.6133 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000207/0.257, allocations: 118 kB / 0.798 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000683/0.2577, allocations: 267.9 kB / 0.7983 GB, free: 236 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2577, allocations: 0 / 0.7983 GB, free: 236 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.258, allocations: 139.9 kB / 0.7984 GB, free: 96 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.2586, allocations: 75.92 kB / 0.7985 GB, free: 20 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.2594, allocations: 0.4926 MB / 0.799 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.2597, allocations: 0.7482 MB / 0.7997 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.2599, allocations: 38.48 kB / 0.7997 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.2599, allocations: 23.44 kB / 0.7997 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.26, allocations: 0 / 0.7997 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.007166/0.2671, allocations: 3.42 MB / 0.8031 GB, free: 11.31 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) Environment - environmentSimulation: