Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008406/0.0008407, allocations: 97.72 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.005153/0.005153, allocations: 170.4 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8095/0.8095, allocations: 132.3 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 12.72 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4208, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.226/0.6469, allocations: 201.8 MB / 0.7808 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.6666, allocations: 13.63 MB / 0.7941 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.6689, allocations: 43.69 kB / 0.7941 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.6715, allocations: 0.6528 MB / 0.7947 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006839/0.6783, allocations: 2.05 MB / 0.7968 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00533/0.6837, allocations: 1.83 MB / 0.7985 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005513/0.6892, allocations: 4.159 MB / 0.8026 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.691, allocations: 0.9697 MB / 0.8035 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004756/0.6957, allocations: 1.628 MB / 0.8051 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.6976, allocations: 1.018 MB / 0.8061 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.6978, allocations: 56 kB / 0.8062 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006291/0.7041, allocations: 3.185 MB / 0.8093 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004941/0.7047, allocations: 346.6 kB / 0.8096 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.7057, allocations: 0.7204 MB / 0.8103 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00558/0.7113, allocations: 3.092 MB / 0.8133 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.7113, allocations: 3.984 kB / 0.8134 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7113, allocations: 0 / 0.8134 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.798e-05/0.7114, allocations: 0 / 0.8134 GB, free: 4.434 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.004011/0.7154, allocations: 1.834 MB / 0.8151 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.7154, allocations: 8.031 kB / 0.8151 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003047/0.7185, allocations: 0.5639 MB / 0.8157 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.7205, allocations: 1.083 MB / 0.8168 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006699/0.7212, allocations: 214.1 kB / 0.817 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.7214, allocations: 92 kB / 0.817 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4432/1.165, allocations: 1.276 MB / 0.8183 GB, free: 81.05 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.542e-05/1.165, allocations: 2.906 kB / 0.8183 GB, free: 81.05 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/1.165, allocations: 38.06 kB / 0.8183 GB, free: 81.05 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.828e-05/1.165, allocations: 41.88 kB / 0.8184 GB, free: 81.05 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004116/1.169, allocations: 1.332 MB / 0.8197 GB, free: 81.04 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009147/1.178, allocations: 4.899 MB / 0.8245 GB, free: 79.15 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/1.181, allocations: 1.042 MB / 0.8255 GB, free: 79.13 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/1.182, allocations: 0.5756 MB / 0.826 GB, free: 79.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/1.184, allocations: 0.8737 MB / 0.8269 GB, free: 78.28 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/1.185, allocations: 0.6992 MB / 0.8276 GB, free: 78.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 3.487e-06/1.185, allocations: 0 / 0.8276 GB, free: 78.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.004744/1.19, allocations: 1.796 MB / 0.8293 GB, free: 77.97 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/1.19, allocations: 121.6 kB / 0.8294 GB, free: 77.85 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/1.192, allocations: 1.036 MB / 0.8305 GB, free: 77.69 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/1.192, allocations: 46.73 kB / 0.8305 GB, free: 77.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/1.192, allocations: 0.5206 MB / 0.831 GB, free: 77.47 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/1.192, allocations: 277.7 kB / 0.8313 GB, free: 77.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/1.192, allocations: 89.41 kB / 0.8314 GB, free: 77.28 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/1.193, allocations: 345.5 kB / 0.8317 GB, free: 76.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/1.194, allocations: 0.5133 MB / 0.8322 GB, free: 76.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/1.195, allocations: 0.7184 MB / 0.8329 GB, free: 76.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/1.198, allocations: 1.233 MB / 0.8341 GB, free: 76.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.198, allocations: 1.031 kB / 0.8341 GB, free: 76.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003681/1.202, allocations: 1.507 MB / 0.8356 GB, free: 76.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.202, allocations: 242.8 kB / 0.8358 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.202, allocations: 6.875 kB / 0.8358 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.202, allocations: 6.781 kB / 0.8358 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/1.203, allocations: 265 kB / 0.8361 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/1.204, allocations: 9.812 kB / 0.8361 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/1.205, allocations: 212.7 kB / 0.8363 GB, free: 75.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/1.205, allocations: 45.66 kB / 0.8363 GB, free: 75.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/1.205, allocations: 4.156 kB / 0.8363 GB, free: 75.98 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003209/1.208, allocations: 1.419 MB / 0.8377 GB, free: 75.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.208, allocations: 2.906 kB / 0.8377 GB, free: 75.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/1.208, allocations: 12.59 kB / 0.8377 GB, free: 75.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.21, allocations: 262 kB / 0.838 GB, free: 75.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.21, allocations: 11.78 kB / 0.838 GB, free: 75.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.211, allocations: 198.1 kB / 0.8382 GB, free: 75.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/1.211, allocations: 46.03 kB / 0.8382 GB, free: 75.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * 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.0007425/1.212, allocations: 461.7 kB / 0.8387 GB, free: 75.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/1.212, allocations: 130 kB / 0.8388 GB, free: 75.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/1.215, allocations: 1.524 MB / 0.8403 GB, free: 75.31 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.215, allocations: 10.53 kB / 0.8403 GB, free: 75.31 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.216, allocations: 6.938 kB / 0.8403 GB, free: 75.31 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.216, allocations: 3.234 kB / 0.8403 GB, free: 75.31 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/1.221, allocations: 2.972 MB / 0.8432 GB, free: 74.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/1.221, allocations: 6.5 kB / 0.8432 GB, free: 74.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000929/1.222, allocations: 203 kB / 0.8434 GB, free: 74.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/1.222, allocations: 5.812 kB / 0.8434 GB, free: 74.77 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/1.222, allocations: 31.77 kB / 0.8434 GB, free: 74.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/1.222, allocations: 14 kB / 0.8434 GB, free: 74.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.222, allocations: 8.375 kB / 0.8435 GB, free: 74.76 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/1.226, allocations: 2.296 MB / 0.8457 GB, free: 74.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006824/1.227, allocations: 347 kB / 0.846 GB, free: 74.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/1.227, allocations: 26.31 kB / 0.8461 GB, free: 74.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.228, allocations: 136.2 kB / 0.8462 GB, free: 74.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.229, allocations: 62.64 kB / 0.8462 GB, free: 74.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.229, allocations: 42.72 kB / 0.8463 GB, free: 74.13 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001058/1.23, allocations: 0.7062 MB / 0.847 GB, free: 74.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/1.23, allocations: 0 / 0.847 GB, free: 74.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002638/1.232, allocations: 0.795 MB / 0.8477 GB, free: 73.95 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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.001233/1.234, allocations: 0.5018 MB / 0.8482 GB, free: 73.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004752/1.238, allocations: 2.278 MB / 0.8505 GB, free: 73.53 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.238, allocations: 2.953 kB / 0.8505 GB, free: 73.53 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/1.24, allocations: 0.7847 MB / 0.8512 GB, free: 73.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/1.243, allocations: 0.5301 MB / 0.8517 GB, free: 73.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/1.248, allocations: 2.933 MB / 0.8546 GB, free: 71.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/1.248, allocations: 1.155 MB / 0.8557 GB, free: 71.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001756/1.25, allocations: 356.7 kB / 0.8561 GB, free: 71.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/1.25, allocations: 103.5 kB / 0.8562 GB, free: 71.1 MB / 0.6387 GB Notification: Performance of SimCode: time 8.91e-07/1.25, allocations: 0 / 0.8562 GB, free: 71.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.03764/1.288, allocations: 25.42 MB / 0.881 GB, free: 55.69 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)