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.0009419/0.0009464, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001007/0.001007, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7381/0.7381, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 12.56 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3521, allocations: 81.58 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.1842/0.5364, allocations: 188.5 MB / 0.7672 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.5523, allocations: 12.66 MB / 0.7795 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.5537, allocations: 39.75 kB / 0.7796 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.5554, allocations: 0.5239 MB / 0.7801 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.5597, allocations: 1.674 MB / 0.7817 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00418/0.5639, allocations: 1.602 MB / 0.7833 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004002/0.5679, allocations: 3.588 MB / 0.7868 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.5694, allocations: 0.8749 MB / 0.7877 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.5723, allocations: 1.459 MB / 0.7891 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.5739, allocations: 0.9531 MB / 0.79 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002426/0.5742, allocations: 56 kB / 0.7901 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.5785, allocations: 2.3 MB / 0.7923 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004398/0.5789, allocations: 330.7 kB / 0.7926 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.5794, allocations: 312.9 kB / 0.7929 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.5821, allocations: 2.143 MB / 0.795 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5821, allocations: 4 kB / 0.795 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5821, allocations: 3.938 kB / 0.795 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.536e-05/0.5822, allocations: 0 / 0.795 GB, free: 6.953 MB / 0.6231 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.003795/0.586, allocations: 1.842 MB / 0.7968 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.586, allocations: 12.03 kB / 0.7968 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002887/0.5889, allocations: 0.564 MB / 0.7974 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.5909, allocations: 1.045 MB / 0.7984 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009326/0.5919, allocations: 206.2 kB / 0.7986 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002894/0.5922, allocations: 95.98 kB / 0.7987 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/0.5962, allocations: 1.275 MB / 0.7999 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.5963, allocations: 0 / 0.7999 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.5965, allocations: 43.89 kB / 0.8 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.94e-05/0.5966, allocations: 37.98 kB / 0.8 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004884/0.6014, allocations: 1.327 MB / 0.8013 GB, free: 376 kB / 0.6231 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.01147/0.6129, allocations: 4.897 MB / 0.8061 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/0.6166, allocations: 1.033 MB / 0.8071 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.6184, allocations: 0.5811 MB / 0.8077 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/0.62, allocations: 0.8696 MB / 0.8085 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002082/0.6221, allocations: 0.6961 MB / 0.8092 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 6.022e-06/0.6221, allocations: 0 / 0.8092 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.006291/0.6284, allocations: 1.792 MB / 0.811 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.6285, allocations: 115.5 kB / 0.8111 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.6305, allocations: 1.03 MB / 0.8121 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.6307, allocations: 45.7 kB / 0.8121 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006434/0.6313, allocations: 0.5321 MB / 0.8126 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.6317, allocations: 276 kB / 0.8129 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.6318, allocations: 16 kB / 0.8129 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.632, allocations: 341.9 kB / 0.8132 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/0.6338, allocations: 0.5134 MB / 0.8137 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.636, allocations: 0.7111 MB / 0.8144 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.638, allocations: 0.6036 MB / 0.815 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.638, allocations: 0 / 0.815 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004458/0.6425, allocations: 1.499 MB / 0.8165 GB, free: 148 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.2492/0.8917, allocations: 231.8 kB / 0.8167 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.8917, allocations: 2.594 kB / 0.8167 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.8917, allocations: 10.97 kB / 0.8167 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.8934, allocations: 261.8 kB / 0.817 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.8934, allocations: 7.234 kB / 0.817 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.895, allocations: 212.6 kB / 0.8172 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.8951, allocations: 50.08 kB / 0.8172 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.485e-06/0.8951, allocations: 4.156 kB / 0.8172 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003248/0.8984, allocations: 1.419 MB / 0.8186 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.8984, allocations: 3.234 kB / 0.8186 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.8984, allocations: 6.812 kB / 0.8186 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.8997, allocations: 264 kB / 0.8189 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.8998, allocations: 11.08 kB / 0.8189 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.9011, allocations: 196.2 kB / 0.8191 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.9012, allocations: 45.28 kB / 0.8191 GB, free: 218.2 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 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006629/0.9019, allocations: 463.2 kB / 0.8196 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.9021, allocations: 128.4 kB / 0.8197 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.9055, allocations: 1.521 MB / 0.8212 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.9055, allocations: 8.812 kB / 0.8212 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.9055, allocations: 6.344 kB / 0.8212 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.9055, allocations: 4.266 kB / 0.8212 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005158/0.9107, allocations: 2.96 MB / 0.8241 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.9107, allocations: 3.859 kB / 0.8241 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000968/0.9117, allocations: 210.1 kB / 0.8243 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.9117, allocations: 6.375 kB / 0.8243 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.75e-05/0.9118, allocations: 32.2 kB / 0.8243 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.9118, allocations: 12.22 kB / 0.8243 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.9118, allocations: 4.359 kB / 0.8243 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/0.916, allocations: 2.3 MB / 0.8266 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.9166, allocations: 343.7 kB / 0.8269 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.9167, allocations: 24.45 kB / 0.8269 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.9178, allocations: 134.8 kB / 0.8271 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.9179, allocations: 69.77 kB / 0.8271 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.9e-05/0.9181, allocations: 44.02 kB / 0.8272 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001002/0.9191, allocations: 0.6954 MB / 0.8278 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9191, allocations: 0 / 0.8278 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002058/0.9211, allocations: 0.7889 MB / 0.8286 GB, free: 214.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.9222, allocations: 0.5063 MB / 0.8291 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00429/0.9265, allocations: 2.27 MB / 0.8313 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.9265, allocations: 0 / 0.8313 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.9278, allocations: 0.7857 MB / 0.8321 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.9302, allocations: 0.5185 MB / 0.8326 GB, free: 213 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.9343, allocations: 2.843 MB / 0.8354 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.9349, allocations: 1.159 MB / 0.8365 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001703/0.9366, allocations: 362.8 kB / 0.8369 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.937, allocations: 103 kB / 0.837 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.937, allocations: 0 / 0.837 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.03235/0.9693, allocations: 24.73 MB / 0.8611 GB, free: 191.2 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)