Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001446/0.001446, allocations: 106.3 kB / 16.37 MB, free: 6.477 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.00167/0.00167, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8217/0.8217, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.362, allocations: 80.18 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00242/0.3644, allocations: 1.574 MB / 0.583 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3656, allocations: 0.9034 MB / 0.5839 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.3656, allocations: 1.125 kB / 0.5839 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.3657, allocations: 7.922 kB / 0.5839 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.3659, allocations: 24.16 kB / 0.584 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.3662, allocations: 145.4 kB / 0.5841 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.3663, allocations: 78.48 kB / 0.5842 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.3664, allocations: 13.25 kB / 0.5842 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.3665, allocations: 30.72 kB / 0.5842 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3666, allocations: 40.22 kB / 0.5842 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3667, allocations: 3.938 kB / 0.5843 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.367, allocations: 288.9 kB / 0.5845 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.367, allocations: 9.938 kB / 0.5845 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.367, allocations: 28.55 kB / 0.5846 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.3672, allocations: 157.2 kB / 0.5847 GB, free: 25.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3673, allocations: 0 / 0.5847 GB, free: 25.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3673, allocations: 0.8125 kB / 0.5847 GB, free: 25.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3673, allocations: 1.156 kB / 0.5847 GB, free: 25.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000465/0.3677, allocations: 407.9 kB / 0.5851 GB, free: 24.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3678, allocations: 9.594 kB / 0.5851 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.3679, allocations: 11.75 kB / 0.5851 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.3681, allocations: 191 kB / 0.5853 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3681, allocations: 2.906 kB / 0.5853 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3681, allocations: 9.5 kB / 0.5853 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3683, allocations: 64.02 kB / 0.5854 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3683, allocations: 4.516 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3683, allocations: 1.719 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3684, allocations: 1.375 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3685, allocations: 39.22 kB / 0.5854 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.3689, allocations: 305.3 kB / 0.5857 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.369, allocations: 60.3 kB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.3691, allocations: 26.88 kB / 0.5858 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3691, allocations: 0 / 0.5858 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.3692, allocations: 37.06 kB / 0.5858 GB, free: 24.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.3692, allocations: 0 / 0.5858 GB, free: 24.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003262/0.3695, allocations: 106.9 kB / 0.5859 GB, free: 24.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.3695, allocations: 54.22 kB / 0.586 GB, free: 23.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.3696, allocations: 128.8 kB / 0.5861 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.3696, allocations: 33.64 kB / 0.5861 GB, free: 23.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.3697, allocations: 96.86 kB / 0.5862 GB, free: 23.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.3697, allocations: 13.95 kB / 0.5862 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.3697, allocations: 18.19 kB / 0.5863 GB, free: 23.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.3698, allocations: 331.4 kB / 0.5866 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.3699, allocations: 20.02 kB / 0.5866 GB, free: 23.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.3699, allocations: 25.7 kB / 0.5866 GB, free: 23.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.3701, allocations: 53.27 kB / 0.5867 GB, free: 23.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3701, allocations: 0.875 kB / 0.5867 GB, free: 23.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001955/0.3703, allocations: 93.86 kB / 0.5868 GB, free: 23.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3703, allocations: 5.062 kB / 0.5868 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3703, allocations: 2.281 kB / 0.5868 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3703, allocations: 1.469 kB / 0.5868 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3705, allocations: 19.58 kB / 0.5868 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3705, allocations: 0 / 0.5868 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.3705, allocations: 12 kB / 0.5868 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3705, allocations: 4.531 kB / 0.5868 GB, free: 23.25 MB / 446.1 MB 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 5.219e-05/0.3706, allocations: 118 kB / 0.5869 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.3707, allocations: 12.05 kB / 0.5869 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.3709, allocations: 98.16 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3709, allocations: 0 / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3709, allocations: 2.656 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3709, allocations: 0 / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3711, allocations: 187.8 kB / 0.5872 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3711, allocations: 2.406 kB / 0.5872 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.3712, allocations: 18.52 kB / 0.5872 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3712, allocations: 0 / 0.5872 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3712, allocations: 1.344 kB / 0.5872 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3712, allocations: 0 / 0.5872 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3712, allocations: 1.375 kB / 0.5872 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.3714, allocations: 191.5 kB / 0.5874 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.3714, allocations: 82.45 kB / 0.5875 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3715, allocations: 5.125 kB / 0.5875 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.3715, allocations: 4.281 kB / 0.5875 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.3716, allocations: 6.516 kB / 0.5875 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3716, allocations: 1.562 kB / 0.5875 GB, free: 22.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.3716, allocations: 107.8 kB / 0.5876 GB, free: 22.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3717, allocations: 2.25 kB / 0.5876 GB, free: 22.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.3719, allocations: 21.84 kB / 0.5876 GB, free: 22.46 MB / 446.1 MB 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.0001663/0.3721, allocations: 115 kB / 0.5877 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.3723, allocations: 52.5 kB / 0.5878 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3723, allocations: 0 / 0.5878 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.3724, allocations: 38.88 kB / 0.5878 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3726, allocations: 13.34 kB / 0.5878 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.373, allocations: 188.8 kB / 0.588 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3731, allocations: 0.6984 MB / 0.5887 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.257e-05/0.3732, allocations: 12.61 kB / 0.5887 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.3732, allocations: 11.44 kB / 0.5887 GB, free: 21.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3732, allocations: 0 / 0.5887 GB, free: 21.44 MB / 446.1 MB Notification: Performance of Templates: time 0.003386/0.3766, allocations: 1.085 MB / 0.5898 GB, free: 20.93 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)