Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005052/0.005052, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001099/0.001099, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.944/0.944, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.91 kB / 0.5856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4852, allocations: 80.91 MB / 0.6647 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.004871/0.4902, allocations: 2.115 MB / 0.6667 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.4922, allocations: 1.037 MB / 0.6677 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.4925, allocations: 7.406 kB / 0.6677 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.425e-05/0.4926, allocations: 23.67 kB / 0.6678 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.4932, allocations: 78.06 kB / 0.6678 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.4938, allocations: 197.5 kB / 0.668 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.4942, allocations: 289.3 kB / 0.6683 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.4944, allocations: 74.08 kB / 0.6684 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.4947, allocations: 107.5 kB / 0.6685 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.4949, allocations: 142.7 kB / 0.6686 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.495, allocations: 18.16 kB / 0.6686 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.4955, allocations: 297.7 kB / 0.6689 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.4955, allocations: 50.78 kB / 0.669 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.4957, allocations: 116.9 kB / 0.6691 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.4962, allocations: 334.2 kB / 0.6694 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4962, allocations: 0 / 0.6694 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4962, allocations: 0 / 0.6694 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.4963, allocations: 0 / 0.6694 GB, free: 3.945 MB / 0.4981 GB 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.001154/0.4974, allocations: 0.6277 MB / 0.67 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.4975, allocations: 10.09 kB / 0.67 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.4978, allocations: 36.08 kB / 0.67 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.4982, allocations: 290.1 kB / 0.6703 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4983, allocations: 10.47 kB / 0.6703 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.4983, allocations: 18.28 kB / 0.6704 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.4988, allocations: 231.6 kB / 0.6706 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4988, allocations: 1.25 kB / 0.6706 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.4988, allocations: 9.375 kB / 0.6706 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4989, allocations: 3.75 kB / 0.6706 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.4994, allocations: 198.1 kB / 0.6708 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.5005, allocations: 0.9486 MB / 0.6717 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/0.5012, allocations: 241.2 kB / 0.6719 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.5015, allocations: 105.8 kB / 0.672 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.5016, allocations: 9.547 kB / 0.672 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.5016, allocations: 35.88 kB / 0.6721 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.5016, allocations: 0.9375 kB / 0.6721 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001073/0.5027, allocations: 333.9 kB / 0.6724 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.5027, allocations: 84.06 kB / 0.6725 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.503, allocations: 263.2 kB / 0.6727 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.503, allocations: 29.7 kB / 0.6728 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.5031, allocations: 161.2 kB / 0.6729 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.5031, allocations: 57.44 kB / 0.673 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.5032, allocations: 43.73 kB / 0.673 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.5033, allocations: 333.5 kB / 0.6733 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.5036, allocations: 89.08 kB / 0.6734 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.5039, allocations: 149.8 kB / 0.6736 GB, free: 496 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.5044, allocations: 239.2 kB / 0.6738 GB, free: 340 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5045, allocations: 1.219 kB / 0.6738 GB, free: 340 kB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007451/0.5052, allocations: 299.4 kB / 0.6741 GB, free: 176 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.5052, allocations: 6.031 kB / 0.6741 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5052, allocations: 2.594 kB / 0.6741 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.5053, allocations: 2.438 kB / 0.6741 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.5055, allocations: 58.58 kB / 0.6741 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.5056, allocations: 3.25 kB / 0.6741 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.5058, allocations: 40.52 kB / 0.6742 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.5058, allocations: 10.16 kB / 0.6742 GB, free: 132 kB / 0.4981 GB 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.000127/0.506, allocations: 139.2 kB / 0.6743 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.5061, allocations: 29.12 kB / 0.6743 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007855/0.5069, allocations: 290.2 kB / 0.6746 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5069, allocations: 2.875 kB / 0.6746 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.5069, allocations: 1.719 kB / 0.6746 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5069, allocations: 0 / 0.6746 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.5073, allocations: 298.3 kB / 0.6749 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5073, allocations: 3.938 kB / 0.6749 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.5076, allocations: 57.61 kB / 0.675 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.5076, allocations: 1.344 kB / 0.675 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.5076, allocations: 10.41 kB / 0.675 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5077, allocations: 1.375 kB / 0.675 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5077, allocations: 1.125 kB / 0.675 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.5085, allocations: 443.9 kB / 0.6754 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.5086, allocations: 103.2 kB / 0.6755 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.5087, allocations: 6.656 kB / 0.6755 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.5089, allocations: 29.55 kB / 0.6755 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.509, allocations: 23.23 kB / 0.6756 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.509, allocations: 5.031 kB / 0.6756 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002058/0.5092, allocations: 190 kB / 0.6757 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5092, allocations: 0 / 0.6757 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003886/0.5096, allocations: 57.91 kB / 0.6758 GB, free: 14.88 MB / 0.5137 GB 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.0002213/0.5099, allocations: 119.8 kB / 0.6759 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007209/0.5106, allocations: 225 kB / 0.6761 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5106, allocations: 0 / 0.6761 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.5109, allocations: 121.9 kB / 0.6762 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.5115, allocations: 85.48 kB / 0.6763 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008425/0.5123, allocations: 433.1 kB / 0.6767 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.5127, allocations: 0.7536 MB / 0.6775 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.5128, allocations: 24.95 kB / 0.6775 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.5129, allocations: 29.23 kB / 0.6775 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.5129, allocations: 5.125 kB / 0.6775 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.009252/0.5222, allocations: 3.955 MB / 0.6814 GB, free: 11.58 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)