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.005511/0.005511, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001184/0.001184, allocations: 200.1 kB / 16.68 MB, free: 5.965 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9914/0.9914, allocations: 135.1 MB / 425.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.84 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4429, allocations: 80.91 MB / 0.6646 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002652/0.4456, allocations: 2.117 MB / 0.6667 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.447, allocations: 1.037 MB / 0.6677 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.4471, allocations: 7.688 kB / 0.6677 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.35e-05/0.4472, allocations: 23.67 kB / 0.6678 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.4475, allocations: 77.88 kB / 0.6678 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.4479, allocations: 199.9 kB / 0.668 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.4482, allocations: 292.8 kB / 0.6683 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.4483, allocations: 70.12 kB / 0.6684 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.4485, allocations: 103.3 kB / 0.6685 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.4487, allocations: 139.2 kB / 0.6686 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.4487, allocations: 18.03 kB / 0.6686 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.4491, allocations: 301.3 kB / 0.6689 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.4492, allocations: 54.16 kB / 0.669 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.4493, allocations: 112.7 kB / 0.6691 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.4496, allocations: 338.1 kB / 0.6694 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4496, allocations: 0 / 0.6694 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4497, allocations: 5.375 kB / 0.6694 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4497, allocations: 0 / 0.6694 GB, free: 3.988 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.001014/0.4507, allocations: 0.639 MB / 0.67 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4507, allocations: 8.656 kB / 0.67 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/0.451, allocations: 41.3 kB / 0.6701 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.4514, allocations: 289.1 kB / 0.6703 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.4514, allocations: 15.69 kB / 0.6704 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.4515, allocations: 17.34 kB / 0.6704 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.452, allocations: 224.3 kB / 0.6706 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.452, allocations: 3.938 kB / 0.6706 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.452, allocations: 11.02 kB / 0.6706 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.452, allocations: 6.688 kB / 0.6706 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/0.4527, allocations: 199.1 kB / 0.6708 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.4537, allocations: 0.9377 MB / 0.6717 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/0.4545, allocations: 239.5 kB / 0.6719 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.4548, allocations: 109.4 kB / 0.672 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.4549, allocations: 6.719 kB / 0.672 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.4549, allocations: 36.16 kB / 0.6721 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.4549, allocations: 0 / 0.6721 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001148/0.4561, allocations: 338.4 kB / 0.6724 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4561, allocations: 78.55 kB / 0.6725 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.4563, allocations: 263.9 kB / 0.6727 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.4564, allocations: 30.8 kB / 0.6728 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.4565, allocations: 164.2 kB / 0.6729 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.4565, allocations: 58.02 kB / 0.673 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.4566, allocations: 44.61 kB / 0.673 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.4566, allocations: 332.1 kB / 0.6733 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.457, allocations: 90.33 kB / 0.6734 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.4573, allocations: 149 kB / 0.6736 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.4579, allocations: 249.5 kB / 0.6738 GB, free: 364 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4579, allocations: 0 / 0.6738 GB, free: 364 kB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007902/0.4587, allocations: 296.3 kB / 0.6741 GB, free: 204 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4588, allocations: 6.031 kB / 0.6741 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4588, allocations: 1.094 kB / 0.6741 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4588, allocations: 3.656 kB / 0.6741 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.4591, allocations: 62.58 kB / 0.6742 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4591, allocations: 6.078 kB / 0.6742 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.4593, allocations: 41.02 kB / 0.6742 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4594, allocations: 10.44 kB / 0.6742 GB, free: 152 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 9.448e-05/0.4595, allocations: 137.2 kB / 0.6743 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.4596, allocations: 28.56 kB / 0.6744 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008527/0.4604, allocations: 290.3 kB / 0.6746 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4604, allocations: 2.656 kB / 0.6746 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4605, allocations: 1.281 kB / 0.6746 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4605, allocations: 5.516 kB / 0.6746 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.4609, allocations: 300.4 kB / 0.6749 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4609, allocations: 1.562 kB / 0.6749 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.4611, allocations: 57.36 kB / 0.675 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4612, allocations: 1.406 kB / 0.675 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.4612, allocations: 6.719 kB / 0.675 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4612, allocations: 1.375 kB / 0.675 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4612, allocations: 3.938 kB / 0.675 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/0.462, allocations: 444.6 kB / 0.6754 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.4621, allocations: 96.94 kB / 0.6755 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.4622, allocations: 9.156 kB / 0.6755 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.4624, allocations: 33.89 kB / 0.6756 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.4625, allocations: 19.3 kB / 0.6756 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4625, allocations: 4.062 kB / 0.6756 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001789/0.4627, allocations: 191.1 kB / 0.6758 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4627, allocations: 0 / 0.6758 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003656/0.4631, allocations: 58.2 kB / 0.6758 GB, free: 14.9 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.0002126/0.4633, allocations: 122.7 kB / 0.6759 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007426/0.4641, allocations: 224.8 kB / 0.6762 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4641, allocations: 0 / 0.6762 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.4644, allocations: 121 kB / 0.6763 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.465, allocations: 80.64 kB / 0.6763 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008665/0.4659, allocations: 441.2 kB / 0.6768 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.4662, allocations: 0.7509 MB / 0.6775 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.4664, allocations: 28.34 kB / 0.6775 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.4665, allocations: 21.09 kB / 0.6775 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4665, allocations: 5.281 kB / 0.6776 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.008476/0.475, allocations: 3.965 MB / 0.6814 GB, free: 11.59 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)