Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.602/1.602, allocations: 288.3 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001385, allocations: 185.1 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 101.5 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003904, allocations: 17.22 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2174, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001614/0.219, allocations: 1.293 MB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2202, allocations: 0.8447 MB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.2203, allocations: 4 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.2203, allocations: 3.938 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.2205, allocations: 19.95 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.2208, allocations: 87.75 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.221, allocations: 51.86 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.221, allocations: 12 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.2211, allocations: 23.92 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2212, allocations: 39.83 kB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2213, allocations: 4 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.2215, allocations: 263.6 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.2216, allocations: 11.92 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.2216, allocations: 33.64 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.2217, allocations: 100 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.2218, allocations: 7.938 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2218, allocations: 4 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2218, allocations: 0 / 0.9822 GB, free: 24.89 MB / 0.6198 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.0004211/0.2222, allocations: 399.1 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2222, allocations: 8.031 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.2224, allocations: 7.906 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.2225, allocations: 190.9 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2225, allocations: 4 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2226, allocations: 0 / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.2227, allocations: 65.66 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2227, allocations: 0 / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2228, allocations: 7.938 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2228, allocations: 4 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.2229, allocations: 55.89 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.2233, allocations: 296.7 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.2234, allocations: 66.55 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.2235, allocations: 0 / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.2235, allocations: 34.55 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.2235, allocations: 0 / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003253/0.2238, allocations: 117.7 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.2238, allocations: 51.41 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.2239, allocations: 139.3 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.2239, allocations: 29.7 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.224, allocations: 92.12 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.224, allocations: 19.75 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.224, allocations: 4 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.2241, allocations: 322.8 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.045e-05/0.2242, allocations: 23.98 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/0.2242, allocations: 23.98 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.065e-05/0.2243, allocations: 31.98 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2243, allocations: 0 / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001956/0.2245, allocations: 97.89 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2245, allocations: 4 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2245, allocations: 4.062 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2246, allocations: 3.984 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2247, allocations: 16 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2247, allocations: 4 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.2248, allocations: 7.984 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2248, allocations: 7.953 kB / 0.9842 GB, free: 22.58 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.2248, allocations: 109.8 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.2249, allocations: 15.84 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.2251, allocations: 109.9 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2251, allocations: 0 / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2251, allocations: 4 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2251, allocations: 0 / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2253, allocations: 185.7 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2253, allocations: 0 / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.2254, allocations: 23.92 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2254, allocations: 0 / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.2254, allocations: 4 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2254, allocations: 3.984 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2254, allocations: 0 / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.2256, allocations: 199.3 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.2256, allocations: 89 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.2257, allocations: 0 / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.2257, allocations: 8 kB / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.2258, allocations: 7.984 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2258, allocations: 0 / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.2258, allocations: 100.5 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2258, allocations: 0 / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002252/0.2261, allocations: 24 kB / 0.985 GB, free: 21.61 MB / 0.6198 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 (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.0001571/0.2262, allocations: 111.2 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.2264, allocations: 68.03 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2265, allocations: 4 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.2265, allocations: 35.98 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.2268, allocations: 17.28 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.2271, allocations: 226.3 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.2272, allocations: 0.6926 MB / 0.9862 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.827e-05/0.2273, allocations: 4.188 kB / 0.9862 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.2273, allocations: 11.42 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2273, allocations: 8 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.002925/0.2302, allocations: 0.9739 MB / 0.9871 GB, free: 19.43 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)