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.000963/0.000963, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001195/0.001195, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7483/0.7483, allocations: 132.4 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004217, allocations: 12 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3765, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00136/0.3779, allocations: 1.271 MB / 0.5843 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.379, allocations: 0.8552 MB / 0.5852 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.3791, allocations: 4 kB / 0.5852 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.3791, allocations: 1.5 kB / 0.5852 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.3792, allocations: 23.3 kB / 0.5852 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.3795, allocations: 88.59 kB / 0.5853 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3796, allocations: 68.59 kB / 0.5853 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.839e-05/0.3797, allocations: 16.34 kB / 0.5854 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.3798, allocations: 25.14 kB / 0.5854 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3799, allocations: 32.27 kB / 0.5854 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3799, allocations: 2.562 kB / 0.5854 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003839/0.3803, allocations: 269.3 kB / 0.5857 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.3803, allocations: 12.11 kB / 0.5857 GB, free: 2.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.3804, allocations: 35.73 kB / 0.5857 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3805, allocations: 91.34 kB / 0.5858 GB, free: 2.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3805, allocations: 5.625 kB / 0.5858 GB, free: 2.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3805, allocations: 0 / 0.5858 GB, free: 2.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.3806, allocations: 0 / 0.5858 GB, free: 2.219 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.0004267/0.381, allocations: 402.9 kB / 0.5862 GB, free: 1.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.381, allocations: 10.58 kB / 0.5862 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3811, allocations: 15.16 kB / 0.5862 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.3813, allocations: 191 kB / 0.5864 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3813, allocations: 2.406 kB / 0.5864 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.3813, allocations: 2.438 kB / 0.5864 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3815, allocations: 63.28 kB / 0.5865 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.3815, allocations: 0 / 0.5865 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3815, allocations: 9.078 kB / 0.5865 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3815, allocations: 1.859 kB / 0.5865 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.3817, allocations: 54.73 kB / 0.5865 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.382, allocations: 300.2 kB / 0.5868 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3822, allocations: 61.41 kB / 0.5869 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/0.3823, allocations: 34.64 kB / 0.5869 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3823, allocations: 5.609 kB / 0.5869 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.3823, allocations: 31.34 kB / 0.5869 GB, free: 1.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.3823, allocations: 8.938 kB / 0.5869 GB, free: 1.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003552/0.3827, allocations: 122.4 kB / 0.5871 GB, free: 1.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.745e-05/0.3827, allocations: 56.34 kB / 0.5871 GB, free: 1.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.3828, allocations: 132.1 kB / 0.5872 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.3828, allocations: 30.58 kB / 0.5873 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.3829, allocations: 97.69 kB / 0.5874 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.3829, allocations: 16.42 kB / 0.5874 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.3829, allocations: 0 / 0.5874 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.3829, allocations: 319.4 kB / 0.5877 GB, free: 460 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.383, allocations: 23.95 kB / 0.5877 GB, free: 456 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.3831, allocations: 28.64 kB / 0.5877 GB, free: 448 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.3832, allocations: 28.98 kB / 0.5878 GB, free: 440 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3832, allocations: 0 / 0.5878 GB, free: 440 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000211/0.3834, allocations: 99.7 kB / 0.5879 GB, free: 388 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3834, allocations: 9.562 kB / 0.5879 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3834, allocations: 0.6094 kB / 0.5879 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3835, allocations: 3.953 kB / 0.5879 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3836, allocations: 15.97 kB / 0.5879 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3836, allocations: 0.7812 kB / 0.5879 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.3837, allocations: 15.89 kB / 0.5879 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.3837, allocations: 2.062 kB / 0.5879 GB, free: 372 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.3837, allocations: 119.5 kB / 0.588 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.3838, allocations: 3 kB / 0.588 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.384, allocations: 106.3 kB / 0.5881 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.384, allocations: 0.9688 kB / 0.5881 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.384, allocations: 3.953 kB / 0.5881 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.384, allocations: 5.578 kB / 0.5881 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3842, allocations: 188.6 kB / 0.5883 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3842, allocations: 3.938 kB / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.3843, allocations: 16.39 kB / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3843, allocations: 0 / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3843, allocations: 5.391 kB / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3843, allocations: 0.7188 kB / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3844, allocations: 1.406 kB / 0.5883 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.3846, allocations: 202.7 kB / 0.5885 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.3847, allocations: 83.73 kB / 0.5886 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.3847, allocations: 5.609 kB / 0.5886 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.3848, allocations: 5.984 kB / 0.5886 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3848, allocations: 9.766 kB / 0.5886 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3848, allocations: 2.203 kB / 0.5886 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.799e-05/0.3849, allocations: 104.2 kB / 0.5887 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3849, allocations: 0 / 0.5887 GB, free: 15.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.3852, allocations: 26.25 kB / 0.5888 GB, free: 15.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.3853, allocations: 105.8 kB / 0.5889 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.3855, allocations: 65.92 kB / 0.5889 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3856, allocations: 1.438 kB / 0.5889 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.388e-05/0.3856, allocations: 38.08 kB / 0.589 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.3859, allocations: 12.95 kB / 0.589 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.3863, allocations: 209.4 kB / 0.5892 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3865, allocations: 0.6895 MB / 0.5898 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.173e-05/0.3866, allocations: 13 kB / 0.5899 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3866, allocations: 11.84 kB / 0.5899 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3866, allocations: 0 / 0.5899 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Templates: time 0.003373/0.39, allocations: 0.9737 MB / 0.5908 GB, free: 14.52 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)