Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001147/0.001147, allocations: 110.5 kB / 16.37 MB, free: 6.016 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.001204/0.001205, allocations: 195.1 kB / 17.31 MB, free: 5.613 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.818/0.818, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3598, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00355/0.3634, allocations: 2.122 MB / 0.5836 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.3654, allocations: 1.031 MB / 0.5846 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.3656, allocations: 10.28 kB / 0.5846 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.306e-05/0.3657, allocations: 24.36 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.3661, allocations: 81.19 kB / 0.5847 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.3666, allocations: 194 kB / 0.5849 GB, free: 24.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.367, allocations: 287.5 kB / 0.5852 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.3672, allocations: 59.92 kB / 0.5852 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.3674, allocations: 111.3 kB / 0.5853 GB, free: 24.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.3677, allocations: 144.3 kB / 0.5855 GB, free: 24.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.3677, allocations: 17.5 kB / 0.5855 GB, free: 24.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005073/0.3682, allocations: 300.1 kB / 0.5858 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.3683, allocations: 50.12 kB / 0.5858 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3684, allocations: 116.1 kB / 0.5859 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.3689, allocations: 334.9 kB / 0.5862 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3689, allocations: 1.312 kB / 0.5862 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3689, allocations: 0 / 0.5862 GB, free: 24.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3689, allocations: 0 / 0.5862 GB, free: 24.05 MB / 446.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.001213/0.3701, allocations: 0.6321 MB / 0.5869 GB, free: 23.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3702, allocations: 11.38 kB / 0.5869 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/0.3705, allocations: 36.22 kB / 0.5869 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.371, allocations: 283.2 kB / 0.5872 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.371, allocations: 10.19 kB / 0.5872 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.3711, allocations: 22.72 kB / 0.5872 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.3717, allocations: 228 kB / 0.5874 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3717, allocations: 0.5 kB / 0.5874 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.3718, allocations: 6.188 kB / 0.5874 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3718, allocations: 5.344 kB / 0.5874 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008589/0.3727, allocations: 201.7 kB / 0.5876 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.3739, allocations: 0.9307 MB / 0.5885 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.375, allocations: 244 kB / 0.5888 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.3754, allocations: 111.3 kB / 0.5889 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.3754, allocations: 7.109 kB / 0.5889 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3755, allocations: 41.33 kB / 0.5889 GB, free: 21.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 3.427e-06/0.3755, allocations: 3.984 kB / 0.5889 GB, free: 21.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001532/0.377, allocations: 336.9 kB / 0.5892 GB, free: 21.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.3771, allocations: 81.39 kB / 0.5893 GB, free: 21.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3774, allocations: 267.1 kB / 0.5896 GB, free: 21.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3774, allocations: 27.02 kB / 0.5896 GB, free: 21.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/0.3775, allocations: 160 kB / 0.5897 GB, free: 21.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.3776, allocations: 53.14 kB / 0.5898 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.3777, allocations: 40.55 kB / 0.5898 GB, free: 21.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.3777, allocations: 336.8 kB / 0.5902 GB, free: 20.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.3782, allocations: 90.66 kB / 0.5902 GB, free: 20.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.3786, allocations: 140.5 kB / 0.5904 GB, free: 20.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008488/0.3795, allocations: 245.6 kB / 0.5906 GB, free: 20.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3795, allocations: 9.375 kB / 0.5906 GB, free: 20.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001098/0.3806, allocations: 302.8 kB / 0.5909 GB, free: 20.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3807, allocations: 4 kB / 0.5909 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3807, allocations: 0.9688 kB / 0.5909 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3807, allocations: 7.984 kB / 0.5909 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.3811, allocations: 65.05 kB / 0.591 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.3811, allocations: 4 kB / 0.591 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.3815, allocations: 33.38 kB / 0.591 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.3815, allocations: 11.98 kB / 0.591 GB, free: 20.14 MB / 446.1 MB 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.0001265/0.3816, allocations: 143.3 kB / 0.5912 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.3818, allocations: 23.72 kB / 0.5912 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.3828, allocations: 290.4 kB / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3829, allocations: 5.906 kB / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3829, allocations: 0 / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3829, allocations: 0 / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.3833, allocations: 289.4 kB / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3834, allocations: 0 / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.3837, allocations: 61.62 kB / 0.5918 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3837, allocations: 0 / 0.5918 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.3838, allocations: 4 kB / 0.5918 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3838, allocations: 0.6875 kB / 0.5918 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3838, allocations: 0 / 0.5918 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3848, allocations: 453 kB / 0.5922 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.3849, allocations: 112.6 kB / 0.5924 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.3849, allocations: 9.406 kB / 0.5924 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.3853, allocations: 23.97 kB / 0.5924 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.3854, allocations: 20.59 kB / 0.5924 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.3855, allocations: 5.625 kB / 0.5924 GB, free: 18.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.3857, allocations: 190 kB / 0.5926 GB, free: 18.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3857, allocations: 4 kB / 0.5926 GB, free: 18.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005359/0.3862, allocations: 60.09 kB / 0.5927 GB, free: 18.39 MB / 446.1 MB 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.0001901/0.3864, allocations: 116.8 kB / 0.5928 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009426/0.3874, allocations: 228.1 kB / 0.593 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3874, allocations: 0 / 0.593 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.3878, allocations: 117.2 kB / 0.5931 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.3886, allocations: 78.45 kB / 0.5932 GB, free: 17.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.3895, allocations: 449.2 kB / 0.5936 GB, free: 17.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.3897, allocations: 0.752 MB / 0.5943 GB, free: 16.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.3899, allocations: 30.5 kB / 0.5944 GB, free: 16.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.39, allocations: 23.44 kB / 0.5944 GB, free: 16.59 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.39, allocations: 0 / 0.5944 GB, free: 16.59 MB / 446.1 MB Notification: Performance of Templates: time 0.00938/0.3994, allocations: 3.938 MB / 0.5982 GB, free: 12.74 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)