Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 177.2 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007692/0.0007689, allocations: 103.5 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003264, allocations: 12.06 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2325, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.7443/0.9769, allocations: 204.4 MB / 1.096 GB, free: 1.414 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.9941, allocations: 13.79 MB / 1.11 GB, free: 1.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.9971, allocations: 45.66 kB / 1.11 GB, free: 1.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.9996, allocations: 0.651 MB / 1.11 GB, free: 1.074 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006939/1.007, allocations: 2.135 MB / 1.113 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005676/1.012, allocations: 1.845 MB / 1.114 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005641/1.018, allocations: 4.133 MB / 1.118 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/1.02, allocations: 0.9469 MB / 1.119 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005324/1.025, allocations: 1.554 MB / 1.121 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002561/1.028, allocations: 1.042 MB / 1.122 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005074/1.028, allocations: 52.56 kB / 1.122 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006993/1.035, allocations: 3.185 MB / 1.125 GB, free: 0.625 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008134/1.036, allocations: 344.1 kB / 1.125 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/1.038, allocations: 0.6979 MB / 1.126 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004765/1.043, allocations: 2.22 MB / 1.128 GB, free: 456 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.043, allocations: 3.531 kB / 1.128 GB, free: 456 kB / 0.698 GB Notification: Performance of FrontEnd: time 3.056e-06/1.043, allocations: 0 / 1.128 GB, free: 456 kB / 0.698 GB Notification: Performance of Transformations before backend: time 8.402e-05/1.043, allocations: 0 / 1.128 GB, free: 456 kB / 0.698 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.00508/1.048, allocations: 1.834 MB / 1.13 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.048, allocations: 8.75 kB / 1.13 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/1.052, allocations: 0.559 MB / 1.131 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/1.055, allocations: 1.08 MB / 1.132 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000831/1.056, allocations: 205.1 kB / 1.132 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003976/1.056, allocations: 95.53 kB / 1.132 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/1.06, allocations: 1.292 MB / 1.133 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.06, allocations: 3.531 kB / 1.133 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.06, allocations: 33.62 kB / 1.133 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.633e-05/1.06, allocations: 37.5 kB / 1.133 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/1.063, allocations: 1.33 MB / 1.135 GB, free: 14.72 MB / 0.7136 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.008071/1.071, allocations: 4.903 MB / 1.139 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/1.074, allocations: 1.051 MB / 1.14 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/1.075, allocations: 0.5862 MB / 1.141 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/1.076, allocations: 0.8667 MB / 1.142 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/1.078, allocations: 0.7013 MB / 1.142 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 3.788e-06/1.078, allocations: 0 / 1.142 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.004193/1.082, allocations: 1.789 MB / 1.144 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/1.082, allocations: 121.2 kB / 1.144 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/1.083, allocations: 1.038 MB / 1.145 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/1.084, allocations: 45.2 kB / 1.145 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/1.084, allocations: 0.5269 MB / 1.146 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/1.084, allocations: 264.6 kB / 1.146 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/1.084, allocations: 94.64 kB / 1.146 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.085, allocations: 340.6 kB / 1.147 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.086, allocations: 0.5171 MB / 1.147 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/1.087, allocations: 0.7121 MB / 1.148 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/1.09, allocations: 1.239 MB / 1.149 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.09, allocations: 2.938 kB / 1.149 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003359/1.093, allocations: 1.507 MB / 1.15 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000185/1.093, allocations: 235.6 kB / 1.151 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.093, allocations: 6.969 kB / 1.151 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.093, allocations: 12.34 kB / 1.151 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.094, allocations: 260.4 kB / 1.151 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.094, allocations: 10.5 kB / 1.151 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/1.096, allocations: 210.9 kB / 1.151 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.096, allocations: 48.56 kB / 1.151 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.096, allocations: 5.844 kB / 1.151 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003032/1.099, allocations: 1.422 MB / 1.153 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.099, allocations: 3.562 kB / 1.153 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/1.099, allocations: 8.031 kB / 1.153 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/1.1, allocations: 260.1 kB / 1.153 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.1, allocations: 13.42 kB / 1.153 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/1.102, allocations: 191.2 kB / 1.153 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-05/1.102, allocations: 54.3 kB / 1.153 GB, free: 6.496 MB / 0.7136 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.0007749/1.103, allocations: 455.1 kB / 1.154 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/1.103, allocations: 136.2 kB / 1.154 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/1.106, allocations: 1.517 MB / 1.155 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/1.106, allocations: 10.58 kB / 1.155 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.106, allocations: 0 / 1.155 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/1.106, allocations: 3.984 kB / 1.155 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/1.112, allocations: 2.97 MB / 1.158 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.112, allocations: 5.281 kB / 1.158 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009918/1.113, allocations: 205.7 kB / 1.158 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/1.113, allocations: 9.75 kB / 1.158 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/1.113, allocations: 38.91 kB / 1.158 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/1.113, allocations: 11.66 kB / 1.158 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.113, allocations: 3.375 kB / 1.158 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/1.118, allocations: 2.298 MB / 1.161 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007358/1.119, allocations: 344.4 kB / 1.161 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/1.119, allocations: 32.69 kB / 1.161 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.12, allocations: 129.8 kB / 1.161 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.12, allocations: 66.95 kB / 1.161 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/1.12, allocations: 44.91 kB / 1.161 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001068/1.121, allocations: 0.7025 MB / 1.162 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/1.121, allocations: 0 / 1.162 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00228/1.124, allocations: 0.7946 MB / 1.163 GB, free: 0.8125 MB / 0.7136 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.001201/1.125, allocations: 0.503 MB / 1.163 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004856/1.13, allocations: 2.278 MB / 1.165 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/1.13, allocations: 4 kB / 1.165 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/1.131, allocations: 0.7871 MB / 1.166 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/1.135, allocations: 0.5178 MB / 1.167 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/1.14, allocations: 2.929 MB / 1.169 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/1.141, allocations: 1.149 MB / 1.171 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/1.141, allocations: 123.3 kB / 1.171 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/1.141, allocations: 0 / 1.171 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of Templates: time 0.03567/1.177, allocations: 22.58 MB / 1.193 GB, free: 1.996 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)