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.001196/0.001196, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7055/0.7055, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 69.33 kB / 0.5018 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4125, allocations: 80.2 MB / 0.5801 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002729/0.4152, allocations: 1.568 MB / 0.5816 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.4166, allocations: 0.9139 MB / 0.5825 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.4167, allocations: 1.5 kB / 0.5825 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.4168, allocations: 5.25 kB / 0.5825 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.417, allocations: 26.73 kB / 0.5826 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.4174, allocations: 139.2 kB / 0.5827 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.4175, allocations: 78.38 kB / 0.5828 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.4176, allocations: 11.56 kB / 0.5828 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.4177, allocations: 42.19 kB / 0.5828 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.4179, allocations: 36.55 kB / 0.5828 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.4179, allocations: 3.719 kB / 0.5828 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.4183, allocations: 280 kB / 0.5831 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.4184, allocations: 7.734 kB / 0.5831 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.4184, allocations: 35.05 kB / 0.5832 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.4187, allocations: 152 kB / 0.5833 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4187, allocations: 0.7969 kB / 0.5833 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4187, allocations: 4.938 kB / 0.5833 GB, free: 2.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.4187, allocations: 4 kB / 0.5833 GB, free: 2.512 MB / 430.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.0004956/0.4192, allocations: 401 kB / 0.5837 GB, free: 2.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.4192, allocations: 9.406 kB / 0.5837 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.4194, allocations: 11.3 kB / 0.5837 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.4195, allocations: 190 kB / 0.5839 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.4195, allocations: 5.25 kB / 0.5839 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.4196, allocations: 7.375 kB / 0.5839 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.4197, allocations: 67.62 kB / 0.584 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4198, allocations: 0.5625 kB / 0.584 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4198, allocations: 1.312 kB / 0.584 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4198, allocations: 0 / 0.584 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.42, allocations: 45.66 kB / 0.584 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.4204, allocations: 307 kB / 0.5843 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.4205, allocations: 50.02 kB / 0.5844 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.328e-05/0.4206, allocations: 30.25 kB / 0.5844 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4207, allocations: 2.125 kB / 0.5844 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.4207, allocations: 31.91 kB / 0.5844 GB, free: 1.453 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.4207, allocations: 7.938 kB / 0.5844 GB, free: 1.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003838/0.4211, allocations: 107.3 kB / 0.5845 GB, free: 1.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.4211, allocations: 53.48 kB / 0.5846 GB, free: 1.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.407e-05/0.4212, allocations: 131.9 kB / 0.5847 GB, free: 1.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.4212, allocations: 27.05 kB / 0.5847 GB, free: 1.188 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.4213, allocations: 92.83 kB / 0.5848 GB, free: 1.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.4213, allocations: 19.66 kB / 0.5848 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.4213, allocations: 23.47 kB / 0.5849 GB, free: 1.059 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.4214, allocations: 323.9 kB / 0.5852 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.4215, allocations: 22.31 kB / 0.5852 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.4216, allocations: 19.88 kB / 0.5852 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.4217, allocations: 55.58 kB / 0.5853 GB, free: 0.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4217, allocations: 0 / 0.5853 GB, free: 0.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002223/0.422, allocations: 96.31 kB / 0.5854 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.422, allocations: 5.094 kB / 0.5854 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.422, allocations: 0.8125 kB / 0.5854 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.422, allocations: 1.516 kB / 0.5854 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4221, allocations: 13.64 kB / 0.5854 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4221, allocations: 1.125 kB / 0.5854 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.4222, allocations: 5.016 kB / 0.5854 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4222, allocations: 5.953 kB / 0.5854 GB, free: 0.6484 MB / 430.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 6.445e-05/0.4223, allocations: 127.9 kB / 0.5855 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.4223, allocations: 7.875 kB / 0.5855 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.4226, allocations: 102.5 kB / 0.5856 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4226, allocations: 5.438 kB / 0.5856 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4226, allocations: 0 / 0.5856 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4226, allocations: 1.531 kB / 0.5856 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.4228, allocations: 183.5 kB / 0.5858 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4228, allocations: 4.75 kB / 0.5858 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.4229, allocations: 14.47 kB / 0.5858 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4229, allocations: 3.984 kB / 0.5858 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4229, allocations: 1.203 kB / 0.5858 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.4229, allocations: 1.25 kB / 0.5858 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4229, allocations: 0.8438 kB / 0.5858 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.4231, allocations: 195.6 kB / 0.586 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.4232, allocations: 84.05 kB / 0.5861 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.4232, allocations: 0.875 kB / 0.5861 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.4233, allocations: 4.656 kB / 0.5861 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.4233, allocations: 4.938 kB / 0.5861 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4233, allocations: 6.219 kB / 0.5861 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.015e-05/0.4234, allocations: 103.5 kB / 0.5862 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4234, allocations: 0 / 0.5862 GB, free: 15.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.4237, allocations: 31.08 kB / 0.5862 GB, free: 15.88 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.0001781/0.4239, allocations: 113.8 kB / 0.5863 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.4241, allocations: 59.34 kB / 0.5864 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4241, allocations: 0 / 0.5864 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.755e-05/0.4242, allocations: 27.41 kB / 0.5864 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4245, allocations: 10.75 kB / 0.5864 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.4249, allocations: 197.7 kB / 0.5866 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.4252, allocations: 0.6935 MB / 0.5873 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.4252, allocations: 12.88 kB / 0.5873 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.4253, allocations: 12.11 kB / 0.5873 GB, free: 14.89 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4253, allocations: 0 / 0.5873 GB, free: 14.89 MB / 446.1 MB Notification: Performance of Templates: time 0.00386/0.4291, allocations: 1.084 MB / 0.5884 GB, free: 14.8 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)