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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007716/0.007716, allocations: 100.7 kB / 15.73 MB, free: 6.059 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.001842/0.001842, allocations: 192.3 kB / 16.67 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002088, allocations: 286.9 kB / 290.8 MB, free: 1.746 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9533/0.9533, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 99.84 kB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1652, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002787/0.168, allocations: 1.576 MB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1695, allocations: 0.905 MB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.68e-05/0.1695, allocations: 4 kB / 0.7688 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.1696, allocations: 7.875 kB / 0.7688 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1698, allocations: 27.78 kB / 0.7688 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1702, allocations: 135.6 kB / 0.769 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1703, allocations: 75.66 kB / 0.769 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.1704, allocations: 23.91 kB / 0.7691 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/0.1705, allocations: 35.84 kB / 0.7691 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1707, allocations: 35.84 kB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1707, allocations: 4 kB / 0.7691 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.1711, allocations: 287.6 kB / 0.7694 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.1712, allocations: 15.94 kB / 0.7694 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.1712, allocations: 35.8 kB / 0.7695 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.1716, allocations: 143.6 kB / 0.7696 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1716, allocations: 4 kB / 0.7696 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1716, allocations: 0 / 0.7696 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.1716, allocations: 0 / 0.7696 GB, free: 5.129 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.0006605/0.1723, allocations: 407.1 kB / 0.77 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1723, allocations: 8.031 kB / 0.77 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.1725, allocations: 20.83 kB / 0.77 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1727, allocations: 190 kB / 0.7702 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1727, allocations: 8.312 kB / 0.7702 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1727, allocations: 4.375 kB / 0.7702 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.1729, allocations: 65.97 kB / 0.7703 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1729, allocations: 0 / 0.7703 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.173, allocations: 0 / 0.7703 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.173, allocations: 0 / 0.7703 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.1731, allocations: 43.97 kB / 0.7703 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.1736, allocations: 300.8 kB / 0.7706 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1737, allocations: 50.5 kB / 0.7707 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/0.1738, allocations: 28.97 kB / 0.7707 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1738, allocations: 4 kB / 0.7707 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1739, allocations: 42.48 kB / 0.7707 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1739, allocations: 0 / 0.7707 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003594/0.1742, allocations: 109.5 kB / 0.7708 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1743, allocations: 55.34 kB / 0.7709 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1744, allocations: 131.5 kB / 0.771 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1744, allocations: 29.7 kB / 0.771 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1745, allocations: 92.14 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.1745, allocations: 23.64 kB / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1745, allocations: 17.72 kB / 0.7712 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1746, allocations: 322.8 kB / 0.7715 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.1747, allocations: 19.98 kB / 0.7715 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.1748, allocations: 23.98 kB / 0.7715 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.175, allocations: 56.83 kB / 0.7716 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.175, allocations: 0 / 0.7716 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002221/0.1752, allocations: 93.88 kB / 0.7717 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1752, allocations: 8 kB / 0.7717 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1752, allocations: 0 / 0.7717 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1752, allocations: 0 / 0.7717 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1754, allocations: 16.05 kB / 0.7717 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1754, allocations: 11.92 kB / 0.7717 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.1754, allocations: 12 kB / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1755, allocations: 0 / 0.7717 GB, free: 2.758 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 7.746e-05/0.1755, allocations: 122.4 kB / 0.7718 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.1756, allocations: 7.906 kB / 0.7718 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.1759, allocations: 93.91 kB / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1759, allocations: 0 / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1759, allocations: 4 kB / 0.7719 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1759, allocations: 7.984 kB / 0.7719 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.1761, allocations: 181.6 kB / 0.7721 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1761, allocations: 0 / 0.7721 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.608e-05/0.1762, allocations: 15.98 kB / 0.7721 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1762, allocations: 0 / 0.7721 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1762, allocations: 4 kB / 0.7721 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1762, allocations: 0 / 0.7721 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1762, allocations: 0 / 0.7721 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1765, allocations: 191.4 kB / 0.7723 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.1765, allocations: 88.89 kB / 0.7724 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1765, allocations: 7.938 kB / 0.7724 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.1766, allocations: 4 kB / 0.7724 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1767, allocations: 7.984 kB / 0.7724 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1767, allocations: 0 / 0.7724 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.1767, allocations: 101.8 kB / 0.7725 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1768, allocations: 0 / 0.7725 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002434/0.177, allocations: 27.98 kB / 0.7725 GB, free: 1.812 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.0001795/0.1772, allocations: 115.2 kB / 0.7726 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1774, allocations: 56.02 kB / 0.7727 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1774, allocations: 0 / 0.7727 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.705e-05/0.1775, allocations: 36.05 kB / 0.7727 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.1778, allocations: 16.12 kB / 0.7727 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.1782, allocations: 192.3 kB / 0.7729 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.1784, allocations: 0.6885 MB / 0.7736 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.832e-05/0.1785, allocations: 11.75 kB / 0.7736 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.1785, allocations: 11.44 kB / 0.7736 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of SimCode: time 1.292e-06/0.1785, allocations: 0 / 0.7736 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of Templates: time 0.3328/0.5114, allocations: 1.086 MB / 0.7747 GB, free: 14.52 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (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)