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.00126/0.00126, allocations: 107.8 kB / 16.41 MB, free: 6.492 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.00133/0.00133, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8612/0.8612, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.38 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1736, allocations: 80.93 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00333/0.1769, allocations: 1.566 MB / 0.6668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1786, allocations: 0.92 MB / 0.6677 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.1788, allocations: 0 / 0.6677 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.422e-05/0.1788, allocations: 3.938 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.1791, allocations: 23.78 kB / 0.6678 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.1796, allocations: 142.1 kB / 0.6679 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1798, allocations: 75.66 kB / 0.668 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1799, allocations: 19.91 kB / 0.668 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.18, allocations: 31.92 kB / 0.668 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1802, allocations: 39.84 kB / 0.6681 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1802, allocations: 4 kB / 0.6681 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.1807, allocations: 279.7 kB / 0.6683 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.1807, allocations: 19.91 kB / 0.6683 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.692e-05/0.1808, allocations: 27.86 kB / 0.6684 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.1811, allocations: 151.6 kB / 0.6685 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1811, allocations: 7.938 kB / 0.6685 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1812, allocations: 0 / 0.6685 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1812, allocations: 0 / 0.6685 GB, free: 2.5 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.0006653/0.1818, allocations: 407.1 kB / 0.6689 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1819, allocations: 13.09 kB / 0.6689 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.1821, allocations: 8.938 kB / 0.6689 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1824, allocations: 188.1 kB / 0.6691 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1824, allocations: 384 / 0.6691 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.1824, allocations: 7.938 kB / 0.6691 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.1826, allocations: 65.64 kB / 0.6692 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1827, allocations: 4 kB / 0.6692 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1827, allocations: 3.984 kB / 0.6692 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1827, allocations: 0 / 0.6692 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1828, allocations: 43.91 kB / 0.6692 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.1834, allocations: 296.8 kB / 0.6695 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.1835, allocations: 50.56 kB / 0.6696 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.1836, allocations: 32.97 kB / 0.6696 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.1836, allocations: 0 / 0.6696 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1837, allocations: 34.55 kB / 0.6696 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.595e-06/0.1837, allocations: 0 / 0.6696 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003907/0.1841, allocations: 109.5 kB / 0.6697 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1841, allocations: 55.41 kB / 0.6698 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1842, allocations: 131.7 kB / 0.6699 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1843, allocations: 25.7 kB / 0.6699 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.1843, allocations: 104 kB / 0.67 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.1844, allocations: 15.75 kB / 0.67 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.1844, allocations: 25.64 kB / 0.6701 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1846, allocations: 322.8 kB / 0.6704 GB, free: 392 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.1846, allocations: 23.98 kB / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.1847, allocations: 19.98 kB / 0.6704 GB, free: 348 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1849, allocations: 56.77 kB / 0.6705 GB, free: 288 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1849, allocations: 0 / 0.6705 GB, free: 288 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002309/0.1851, allocations: 93.94 kB / 0.6706 GB, free: 188 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1851, allocations: 4 kB / 0.6706 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1851, allocations: 8 kB / 0.6706 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1852, allocations: 64 / 0.6706 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1853, allocations: 15.98 kB / 0.6706 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1853, allocations: 4 kB / 0.6706 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.1854, allocations: 7.922 kB / 0.6706 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.1854, allocations: 4 kB / 0.6706 GB, free: 144 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 9.883e-05/0.1855, allocations: 119.1 kB / 0.6707 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.1856, allocations: 3.906 kB / 0.6707 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.1859, allocations: 106 kB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1859, allocations: 0 / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1859, allocations: 0 / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1859, allocations: 3.938 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.1861, allocations: 185.7 kB / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1861, allocations: 0 / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.668e-05/0.1862, allocations: 15.98 kB / 0.671 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1862, allocations: 0 / 0.671 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1862, allocations: 0 / 0.671 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1862, allocations: 4 kB / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.1863, allocations: 0 / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.1865, allocations: 191.3 kB / 0.6712 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.1866, allocations: 88.95 kB / 0.6713 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1866, allocations: 0 / 0.6713 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.1867, allocations: 7.984 kB / 0.6713 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.1868, allocations: 8 kB / 0.6713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1868, allocations: 7.938 kB / 0.6713 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.541e-05/0.1869, allocations: 101.1 kB / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1869, allocations: 3.938 kB / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000247/0.1871, allocations: 24 kB / 0.6714 GB, free: 15.19 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.000197/0.1873, allocations: 107.2 kB / 0.6715 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.1876, allocations: 68.02 kB / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1876, allocations: 4 kB / 0.6716 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.27e-05/0.1877, allocations: 23.98 kB / 0.6716 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.188, allocations: 15.92 kB / 0.6716 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.1884, allocations: 217.8 kB / 0.6719 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1887, allocations: 0.6924 MB / 0.6725 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.1888, allocations: 11.44 kB / 0.6725 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.1888, allocations: 0 / 0.6725 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of Templates: time 0.003175/0.192, allocations: 1.113 MB / 0.6736 GB, free: 12.88 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)