Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001121/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001304/0.001304, allocations: 194.2 kB / 16.14 MB, free: 6.691 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9338/0.9338, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 60.94 kB / 0.5047 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1679, allocations: 80.93 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003438/0.1713, allocations: 2.16 MB / 0.5858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1732, allocations: 1.049 MB / 0.5869 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.1734, allocations: 3.938 kB / 0.5869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.07e-05/0.1735, allocations: 15.84 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.1739, allocations: 75.41 kB / 0.5869 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.1743, allocations: 135.8 kB / 0.5871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000378/0.1747, allocations: 286.8 kB / 0.5873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1749, allocations: 68.69 kB / 0.5874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1751, allocations: 103.5 kB / 0.5875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.1753, allocations: 139.3 kB / 0.5876 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.1754, allocations: 11.94 kB / 0.5877 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.1758, allocations: 287.7 kB / 0.5879 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.1759, allocations: 47.83 kB / 0.588 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.176, allocations: 107.3 kB / 0.5881 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.1764, allocations: 323.1 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1764, allocations: 0 / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1764, allocations: 0 / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1764, allocations: 0 / 0.5884 GB, free: 188 kB / 494.1 MB 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.001186/0.1776, allocations: 0.6194 MB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1777, allocations: 12.03 kB / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.178, allocations: 40.55 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1785, allocations: 275.5 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1785, allocations: 8.656 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.1785, allocations: 24.12 kB / 0.5893 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/0.1791, allocations: 232.6 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1791, allocations: 0 / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.1792, allocations: 8 kB / 0.5896 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.1792, allocations: 4 kB / 0.5896 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006731/0.1799, allocations: 199.7 kB / 0.5898 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1811, allocations: 0.9345 MB / 0.5907 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008341/0.1819, allocations: 253.3 kB / 0.5909 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.1823, allocations: 113.7 kB / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1823, allocations: 0 / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1823, allocations: 34.56 kB / 0.5911 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1823, allocations: 0 / 0.5911 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.00124/0.1836, allocations: 341.1 kB / 0.5914 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1837, allocations: 81.11 kB / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.1839, allocations: 266.9 kB / 0.5917 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.184, allocations: 29.7 kB / 0.5917 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1841, allocations: 164.1 kB / 0.5919 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.1841, allocations: 51.27 kB / 0.5919 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.1842, allocations: 37.7 kB / 0.592 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1844, allocations: 338.8 kB / 0.5923 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.1847, allocations: 87.91 kB / 0.5924 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.1851, allocations: 142.2 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.1857, allocations: 257.7 kB / 0.5928 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1858, allocations: 3.938 kB / 0.5928 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008741/0.1866, allocations: 293 kB / 0.5931 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1867, allocations: 4 kB / 0.5931 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1867, allocations: 4 kB / 0.5931 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1867, allocations: 0 / 0.5931 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.187, allocations: 63.88 kB / 0.5931 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.187, allocations: 4 kB / 0.5931 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.1873, allocations: 43.88 kB / 0.5932 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.1873, allocations: 12 kB / 0.5932 GB, free: 10.96 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.1875, allocations: 137.7 kB / 0.5933 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.1876, allocations: 23.72 kB / 0.5933 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008275/0.1884, allocations: 291.1 kB / 0.5936 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.1885, allocations: 4 kB / 0.5936 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1885, allocations: 0 / 0.5936 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1885, allocations: 0 / 0.5936 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.1889, allocations: 297.3 kB / 0.5939 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1889, allocations: 0 / 0.5939 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.1891, allocations: 55.95 kB / 0.594 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1892, allocations: 0 / 0.594 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.1892, allocations: 11.94 kB / 0.594 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1892, allocations: 4.266 kB / 0.594 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1892, allocations: 0 / 0.594 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.19, allocations: 450.1 kB / 0.5944 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.1901, allocations: 104.8 kB / 0.5945 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.1902, allocations: 0 / 0.5945 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.1905, allocations: 27.97 kB / 0.5945 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.1905, allocations: 19.97 kB / 0.5945 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1906, allocations: 4 kB / 0.5945 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002135/0.1908, allocations: 194 kB / 0.5947 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1908, allocations: 0 / 0.5947 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003791/0.1912, allocations: 56.09 kB / 0.5948 GB, free: 9.207 MB / 0.4981 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 (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.0002044/0.1914, allocations: 123.2 kB / 0.5949 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007424/0.1921, allocations: 219.7 kB / 0.5951 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1922, allocations: 0 / 0.5951 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.1925, allocations: 120.2 kB / 0.5952 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.1932, allocations: 76.92 kB / 0.5953 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.1941, allocations: 0.5114 MB / 0.5958 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1945, allocations: 0.7557 MB / 0.5965 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.1947, allocations: 30.28 kB / 0.5966 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.1947, allocations: 23.38 kB / 0.5966 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1947, allocations: 0 / 0.5966 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of Templates: time 0.007771/0.2025, allocations: 3.564 MB / 0.6001 GB, free: 3.805 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)