Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.009665/0.009672, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.002119/0.002119, allocations: 193.3 kB / 16.67 MB, free: 5.922 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.1 MB / 425.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 62.75 kB / 0.5856 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1745, allocations: 80.93 MB / 0.6647 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002823/0.1774, allocations: 1.567 MB / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1789, allocations: 0.9083 MB / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.179, allocations: 0 / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.179, allocations: 7.922 kB / 0.6671 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1793, allocations: 19.8 kB / 0.6671 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.1796, allocations: 143.6 kB / 0.6672 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1798, allocations: 75.7 kB / 0.6673 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.1799, allocations: 15.92 kB / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.321e-05/0.18, allocations: 39.91 kB / 0.6674 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1801, allocations: 39.78 kB / 0.6674 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1802, allocations: 4 kB / 0.6674 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.1806, allocations: 283.6 kB / 0.6677 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.1806, allocations: 11.94 kB / 0.6677 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.1806, allocations: 27.86 kB / 0.6677 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1809, allocations: 151.4 kB / 0.6679 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1809, allocations: 0 / 0.6679 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1809, allocations: 0 / 0.6679 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.1809, allocations: 0 / 0.6679 GB, free: 2.508 MB / 0.4981 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.0005904/0.1815, allocations: 414.8 kB / 0.6682 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1816, allocations: 17.11 kB / 0.6683 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1817, allocations: 8.891 kB / 0.6683 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1819, allocations: 194.2 kB / 0.6685 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.182, allocations: 4.375 kB / 0.6685 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.182, allocations: 3.938 kB / 0.6685 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.1822, allocations: 61.61 kB / 0.6685 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.1822, allocations: 0 / 0.6685 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1822, allocations: 4 kB / 0.6685 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1822, allocations: 4 kB / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1824, allocations: 43.95 kB / 0.6686 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.1828, allocations: 296.8 kB / 0.6689 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.183, allocations: 54.48 kB / 0.6689 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/0.1831, allocations: 36.97 kB / 0.6689 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1831, allocations: 0 / 0.6689 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1831, allocations: 30.56 kB / 0.669 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1831, allocations: 0 / 0.669 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003646/0.1835, allocations: 105.6 kB / 0.6691 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1835, allocations: 51.41 kB / 0.6691 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1837, allocations: 137.8 kB / 0.6693 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1837, allocations: 25.7 kB / 0.6693 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.1838, allocations: 96.09 kB / 0.6694 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.1838, allocations: 27.7 kB / 0.6694 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.1838, allocations: 21.66 kB / 0.6694 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.184, allocations: 326.8 kB / 0.6697 GB, free: 380 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.36e-05/0.184, allocations: 19.98 kB / 0.6697 GB, free: 360 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.284e-05/0.1841, allocations: 23.98 kB / 0.6698 GB, free: 336 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1843, allocations: 52.83 kB / 0.6698 GB, free: 280 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1843, allocations: 0 / 0.6698 GB, free: 280 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002149/0.1845, allocations: 90.06 kB / 0.6699 GB, free: 184 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1845, allocations: 9.703 kB / 0.6699 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1845, allocations: 4 kB / 0.6699 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1845, allocations: 4 kB / 0.6699 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1847, allocations: 19.92 kB / 0.6699 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1847, allocations: 0 / 0.6699 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.056e-05/0.1848, allocations: 7.938 kB / 0.67 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1848, allocations: 4 kB / 0.67 GB, free: 136 kB / 0.4981 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 0.0001094/0.1849, allocations: 111.2 kB / 0.6701 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.1849, allocations: 7.953 kB / 0.6701 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.1853, allocations: 106 kB / 0.6702 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1853, allocations: 0 / 0.6702 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1853, allocations: 0 / 0.6702 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1853, allocations: 3.938 kB / 0.6702 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.1855, allocations: 181.6 kB / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1855, allocations: 7.922 kB / 0.6704 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.1856, allocations: 8 kB / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1856, allocations: 4 kB / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1856, allocations: 3.984 kB / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1856, allocations: 0 / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1856, allocations: 0 / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1859, allocations: 187.4 kB / 0.6705 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.186, allocations: 92.98 kB / 0.6706 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.186, allocations: 0 / 0.6706 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.1861, allocations: 4 kB / 0.6706 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.1862, allocations: 3.984 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1862, allocations: 20.05 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.194e-05/0.1863, allocations: 99.27 kB / 0.6708 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1863, allocations: 3.938 kB / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002552/0.1865, allocations: 27.95 kB / 0.6708 GB, free: 15.18 MB / 0.5137 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.0002209/0.1868, allocations: 115.2 kB / 0.6709 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.187, allocations: 51.97 kB / 0.6709 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.187, allocations: 0 / 0.6709 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.1871, allocations: 39.91 kB / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1874, allocations: 13.66 kB / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.1878, allocations: 192.1 kB / 0.6712 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1881, allocations: 0.6924 MB / 0.6719 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.705e-05/0.1881, allocations: 15.73 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.1882, allocations: 7.438 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1882, allocations: 4 kB / 0.6719 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of Templates: time 0.003433/0.1916, allocations: 1.094 MB / 0.673 GB, free: 12.91 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)