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.00121/0.001216, allocations: 102 kB / 16.27 MB, free: 5.965 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.001192/0.001192, allocations: 189.9 kB / 17.2 MB, free: 5.59 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.394/1.394, allocations: 222.9 MB / 240.9 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.8401/0.8401, allocations: 132.2 MB / 423.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4029, allocations: 80.18 MB / 0.5807 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002552/0.4055, allocations: 1.564 MB / 0.5823 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.4069, allocations: 0.9126 MB / 0.5832 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.407, allocations: 3.688 kB / 0.5832 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.4071, allocations: 3.938 kB / 0.5832 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.4073, allocations: 23.59 kB / 0.5832 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.4077, allocations: 138.2 kB / 0.5833 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.4079, allocations: 78.88 kB / 0.5834 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.408, allocations: 15.42 kB / 0.5834 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.4081, allocations: 34.58 kB / 0.5834 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.4082, allocations: 38.12 kB / 0.5835 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.4083, allocations: 4.156 kB / 0.5835 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.4086, allocations: 281 kB / 0.5838 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.4086, allocations: 13.5 kB / 0.5838 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.4087, allocations: 29.06 kB / 0.5838 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.4089, allocations: 150.5 kB / 0.5839 GB, free: 25.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.4089, allocations: 2.375 kB / 0.5839 GB, free: 25.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4089, allocations: 0 / 0.5839 GB, free: 25.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.4089, allocations: 0 / 0.5839 GB, free: 25.12 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.0005143/0.4095, allocations: 407.2 kB / 0.5843 GB, free: 24.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4095, allocations: 12.78 kB / 0.5843 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.4096, allocations: 15.36 kB / 0.5844 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.4098, allocations: 194.2 kB / 0.5845 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.4098, allocations: 1.781 kB / 0.5845 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.4098, allocations: 6.719 kB / 0.5846 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.41, allocations: 62.53 kB / 0.5846 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.41, allocations: 5.109 kB / 0.5846 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.41, allocations: 5.625 kB / 0.5846 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.41, allocations: 1.062 kB / 0.5846 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.4102, allocations: 48.11 kB / 0.5847 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.4106, allocations: 295.3 kB / 0.5849 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.4107, allocations: 56.39 kB / 0.585 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.4108, allocations: 27.97 kB / 0.585 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.4108, allocations: 2.812 kB / 0.585 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.4108, allocations: 31.62 kB / 0.5851 GB, free: 23.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4109, allocations: 1.281 kB / 0.5851 GB, free: 23.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003386/0.4112, allocations: 112.8 kB / 0.5852 GB, free: 23.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.4112, allocations: 57.53 kB / 0.5852 GB, free: 23.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.4113, allocations: 131.9 kB / 0.5854 GB, free: 23.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.4113, allocations: 27.14 kB / 0.5854 GB, free: 23.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.4114, allocations: 98.89 kB / 0.5855 GB, free: 23.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.4114, allocations: 14.02 kB / 0.5855 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.4114, allocations: 18.78 kB / 0.5855 GB, free: 23.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.4115, allocations: 325.9 kB / 0.5858 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.4116, allocations: 21.27 kB / 0.5858 GB, free: 23.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.4116, allocations: 21.17 kB / 0.5859 GB, free: 23.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4118, allocations: 58.08 kB / 0.5859 GB, free: 23.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4118, allocations: 3.938 kB / 0.5859 GB, free: 23.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000204/0.412, allocations: 89.88 kB / 0.586 GB, free: 23.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.412, allocations: 5.656 kB / 0.586 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.412, allocations: 0 / 0.586 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4121, allocations: 2 kB / 0.586 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4122, allocations: 17.33 kB / 0.586 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4122, allocations: 1.125 kB / 0.586 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.4123, allocations: 2.531 kB / 0.586 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4123, allocations: 5.5 kB / 0.586 GB, free: 23.13 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.574e-05/0.4123, allocations: 113.7 kB / 0.5861 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.4124, allocations: 10.86 kB / 0.5862 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.4126, allocations: 116.3 kB / 0.5863 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4126, allocations: 0 / 0.5863 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4126, allocations: 0 / 0.5863 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4127, allocations: 1.406 kB / 0.5863 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.4128, allocations: 190.7 kB / 0.5864 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4128, allocations: 0 / 0.5864 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.4129, allocations: 15.39 kB / 0.5865 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4129, allocations: 1.156 kB / 0.5865 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.4129, allocations: 1.844 kB / 0.5865 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4129, allocations: 1.906 kB / 0.5865 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4129, allocations: 0 / 0.5865 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.4132, allocations: 195 kB / 0.5866 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.4132, allocations: 82.58 kB / 0.5867 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4132, allocations: 1.531 kB / 0.5867 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.4133, allocations: 2.625 kB / 0.5867 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.4134, allocations: 11.05 kB / 0.5867 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.4134, allocations: 2.438 kB / 0.5867 GB, free: 22.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.488e-05/0.4134, allocations: 103.7 kB / 0.5868 GB, free: 22.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4134, allocations: 0 / 0.5868 GB, free: 22.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.4137, allocations: 26.44 kB / 0.5869 GB, free: 22.33 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.000158/0.4138, allocations: 109.5 kB / 0.587 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.4141, allocations: 58.91 kB / 0.587 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4141, allocations: 5.156 kB / 0.587 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.4142, allocations: 34.66 kB / 0.5871 GB, free: 22.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4145, allocations: 5.219 kB / 0.5871 GB, free: 22.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.4149, allocations: 221.6 kB / 0.5873 GB, free: 22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.415, allocations: 0.6993 MB / 0.588 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.4151, allocations: 13.97 kB / 0.588 GB, free: 21.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4151, allocations: 0.9375 kB / 0.588 GB, free: 21.28 MB / 446.1 MB Notification: Performance of Templates: time 0.00281/0.4179, allocations: 1.112 MB / 0.5891 GB, free: 20.76 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)