Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001303/0.001303, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00132/0.00132, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.309/1.309, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7997/0.7997, allocations: 135.2 MB / 426.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.89 kB / 0.506 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3443, allocations: 80.93 MB / 0.5851 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002363/0.3467, allocations: 1.577 MB / 0.5866 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3478, allocations: 0.8911 MB / 0.5875 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.3479, allocations: 1.125 kB / 0.5875 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.348, allocations: 3.938 kB / 0.5875 GB, free: 23.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.3481, allocations: 28.69 kB / 0.5875 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.3484, allocations: 137.3 kB / 0.5876 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3485, allocations: 76.25 kB / 0.5877 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.3486, allocations: 22.5 kB / 0.5877 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.3487, allocations: 31.64 kB / 0.5878 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3488, allocations: 37.39 kB / 0.5878 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3489, allocations: 3.25 kB / 0.5878 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.3492, allocations: 281.3 kB / 0.5881 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.3492, allocations: 15.59 kB / 0.5881 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.3493, allocations: 27.84 kB / 0.5881 GB, free: 22.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.3495, allocations: 155.1 kB / 0.5883 GB, free: 22.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3495, allocations: 0 / 0.5883 GB, free: 22.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3495, allocations: 0.5 kB / 0.5883 GB, free: 22.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3495, allocations: 2.031 kB / 0.5883 GB, free: 22.84 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.0004452/0.3499, allocations: 398.7 kB / 0.5886 GB, free: 22.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.35, allocations: 12.33 kB / 0.5887 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.3501, allocations: 15.27 kB / 0.5887 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.3502, allocations: 193.4 kB / 0.5889 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.3502, allocations: 1.625 kB / 0.5889 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.3503, allocations: 11.19 kB / 0.5889 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3504, allocations: 70.98 kB / 0.5889 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.3504, allocations: 0.625 kB / 0.5889 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3504, allocations: 1.719 kB / 0.5889 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3505, allocations: 1.594 kB / 0.5889 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3506, allocations: 40.5 kB / 0.589 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.3509, allocations: 298 kB / 0.5893 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3511, allocations: 61.83 kB / 0.5893 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.3512, allocations: 27.75 kB / 0.5893 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3512, allocations: 0 / 0.5893 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.3512, allocations: 36.66 kB / 0.5894 GB, free: 21.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.3512, allocations: 1.688 kB / 0.5894 GB, free: 21.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003275/0.3515, allocations: 106.5 kB / 0.5895 GB, free: 21.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.3516, allocations: 54.41 kB / 0.5895 GB, free: 21.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.3517, allocations: 126.1 kB / 0.5897 GB, free: 21.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.3517, allocations: 29.7 kB / 0.5897 GB, free: 21.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.3517, allocations: 94.11 kB / 0.5898 GB, free: 21.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.3517, allocations: 17.17 kB / 0.5898 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.3518, allocations: 22.41 kB / 0.5898 GB, free: 21.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.3518, allocations: 325.4 kB / 0.5901 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.098e-05/0.3519, allocations: 25.3 kB / 0.5901 GB, free: 20.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.352, allocations: 24.64 kB / 0.5902 GB, free: 20.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.3521, allocations: 58.55 kB / 0.5902 GB, free: 20.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3521, allocations: 0 / 0.5902 GB, free: 20.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001864/0.3523, allocations: 86.25 kB / 0.5903 GB, free: 20.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3523, allocations: 7.625 kB / 0.5903 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3523, allocations: 1.719 kB / 0.5903 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3523, allocations: 1.094 kB / 0.5903 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3525, allocations: 17.95 kB / 0.5903 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3525, allocations: 5.266 kB / 0.5903 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.3525, allocations: 12.19 kB / 0.5904 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.3525, allocations: 5.312 kB / 0.5904 GB, free: 20.84 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.418e-05/0.3526, allocations: 122.3 kB / 0.5905 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.3527, allocations: 7.531 kB / 0.5905 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.3529, allocations: 98.94 kB / 0.5906 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3529, allocations: 1.344 kB / 0.5906 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3529, allocations: 0 / 0.5906 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3529, allocations: 5.141 kB / 0.5906 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.353, allocations: 189.6 kB / 0.5908 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.353, allocations: 0 / 0.5908 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.3531, allocations: 17.61 kB / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3531, allocations: 4 kB / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.3531, allocations: 0 / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3531, allocations: 0 / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3531, allocations: 0 / 0.5908 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.3534, allocations: 193.1 kB / 0.591 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.3534, allocations: 85.67 kB / 0.591 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.3534, allocations: 6.469 kB / 0.5911 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.3535, allocations: 4 kB / 0.5911 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.3535, allocations: 7.984 kB / 0.5911 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3535, allocations: 0 / 0.5911 GB, free: 20.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.3536, allocations: 103.2 kB / 0.5912 GB, free: 19.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.3536, allocations: 0 / 0.5912 GB, free: 19.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.3538, allocations: 33.2 kB / 0.5912 GB, free: 19.95 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.0001392/0.354, allocations: 104.8 kB / 0.5913 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.3542, allocations: 55.95 kB / 0.5913 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3542, allocations: 1.688 kB / 0.5914 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.3542, allocations: 35.92 kB / 0.5914 GB, free: 19.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.3546, allocations: 11.94 kB / 0.5914 GB, free: 19.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.3549, allocations: 220.9 kB / 0.5916 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.355, allocations: 0.6975 MB / 0.5923 GB, free: 18.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.355, allocations: 11.44 kB / 0.5923 GB, free: 18.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.355, allocations: 0.9062 kB / 0.5923 GB, free: 18.76 MB / 446.1 MB Notification: Performance of Templates: time 0.002406/0.3575, allocations: 1.118 MB / 0.5934 GB, free: 17.7 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)