Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008009/0.008009, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 8 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4584, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002628/0.4611, allocations: 1.821 MB / 0.5855 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.4631, allocations: 1.039 MB / 0.5865 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.4634, allocations: 7 kB / 0.5865 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.264e-05/0.4635, allocations: 17.41 kB / 0.5865 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.464, allocations: 67.06 kB / 0.5866 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.4646, allocations: 147.5 kB / 0.5867 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.4651, allocations: 286.6 kB / 0.587 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.4653, allocations: 54 kB / 0.587 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.4655, allocations: 93.31 kB / 0.5871 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.4659, allocations: 127.7 kB / 0.5872 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.4659, allocations: 8.469 kB / 0.5872 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006588/0.4666, allocations: 284.5 kB / 0.5875 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.4667, allocations: 38.91 kB / 0.5875 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.4668, allocations: 130.5 kB / 0.5877 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.4674, allocations: 314.3 kB / 0.588 GB, free: 1.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4674, allocations: 0 / 0.588 GB, free: 1.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4675, allocations: 3.938 kB / 0.588 GB, free: 1.305 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4675, allocations: 4.781 kB / 0.588 GB, free: 1.301 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001284/0.4688, allocations: 0.6024 MB / 0.5886 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4688, allocations: 8.969 kB / 0.5886 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.4691, allocations: 41.78 kB / 0.5886 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.4696, allocations: 278.2 kB / 0.5889 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.4696, allocations: 11.19 kB / 0.5889 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.4696, allocations: 21.62 kB / 0.5889 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/0.4703, allocations: 248.5 kB / 0.5891 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4703, allocations: 7.938 kB / 0.5892 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.4703, allocations: 6.469 kB / 0.5892 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4704, allocations: 7.531 kB / 0.5892 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.4712, allocations: 241.6 kB / 0.5894 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.4726, allocations: 0.9456 MB / 0.5903 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/0.4736, allocations: 265.5 kB / 0.5906 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.474, allocations: 125.9 kB / 0.5907 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.474, allocations: 1.938 kB / 0.5907 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.4741, allocations: 41.91 kB / 0.5907 GB, free: 15.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.4741, allocations: 0 / 0.5907 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001447/0.4755, allocations: 406.1 kB / 0.5911 GB, free: 15.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.4756, allocations: 80.44 kB / 0.5912 GB, free: 15.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.476, allocations: 269.5 kB / 0.5915 GB, free: 14.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.476, allocations: 25.7 kB / 0.5915 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.4761, allocations: 158.5 kB / 0.5916 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.4762, allocations: 58.78 kB / 0.5917 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.4763, allocations: 25.73 kB / 0.5917 GB, free: 14.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4764, allocations: 336.9 kB / 0.592 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.4769, allocations: 112.2 kB / 0.5921 GB, free: 14.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.4773, allocations: 167.4 kB / 0.5923 GB, free: 14.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.4782, allocations: 279 kB / 0.5926 GB, free: 14.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4782, allocations: 5.312 kB / 0.5926 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001084/0.4793, allocations: 331 kB / 0.5929 GB, free: 14.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4794, allocations: 6.781 kB / 0.5929 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4794, allocations: 2.406 kB / 0.5929 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.4794, allocations: 6.516 kB / 0.5929 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.4797, allocations: 82.98 kB / 0.593 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.4798, allocations: 2.469 kB / 0.593 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.4801, allocations: 48.3 kB / 0.593 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.4801, allocations: 11.38 kB / 0.593 GB, free: 14.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001583/0.4803, allocations: 137 kB / 0.5932 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.4804, allocations: 29.25 kB / 0.5932 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.4815, allocations: 338 kB / 0.5935 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.4815, allocations: 2.469 kB / 0.5935 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4815, allocations: 0.5938 kB / 0.5935 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4815, allocations: 2.312 kB / 0.5935 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.482, allocations: 294.7 kB / 0.5938 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.482, allocations: 4.797 kB / 0.5938 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.4823, allocations: 64.28 kB / 0.5939 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.4823, allocations: 5.844 kB / 0.5939 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.4824, allocations: 5.875 kB / 0.5939 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.4824, allocations: 5.688 kB / 0.5939 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4824, allocations: 4.531 kB / 0.5939 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.4835, allocations: 483.2 kB / 0.5944 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.4836, allocations: 109.1 kB / 0.5945 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.4837, allocations: 7.641 kB / 0.5945 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.484, allocations: 35.98 kB / 0.5945 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.4841, allocations: 18.67 kB / 0.5945 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4841, allocations: 8.531 kB / 0.5945 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.4843, allocations: 190.6 kB / 0.5947 GB, free: 13.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4843, allocations: 0 / 0.5947 GB, free: 13.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000429/0.4848, allocations: 55.25 kB / 0.5948 GB, free: 13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.000217/0.485, allocations: 114 kB / 0.5949 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009141/0.4859, allocations: 278.7 kB / 0.5951 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4859, allocations: 0 / 0.5951 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.4864, allocations: 144.9 kB / 0.5953 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.4871, allocations: 68.7 kB / 0.5953 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.488, allocations: 0.5215 MB / 0.5959 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.4884, allocations: 0.7493 MB / 0.5966 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000208/0.4886, allocations: 35.36 kB / 0.5966 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.4887, allocations: 21.88 kB / 0.5966 GB, free: 11.71 MB / 446.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4887, allocations: 0 / 0.5966 GB, free: 11.71 MB / 446.1 MB Notification: Performance of Templates: time 0.01011/0.4988, allocations: 3.543 MB / 0.6001 GB, free: 10.32 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)