Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001632/0.001632, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001974/0.001974, allocations: 193.7 kB / 16.14 MB, free: 6.656 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 72.17 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3063, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.8579/1.164, allocations: 204.6 MB / 1.267 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02019/1.184, allocations: 13.84 MB / 1.281 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002806/1.187, allocations: 46.69 kB / 1.281 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002724/1.19, allocations: 0.6504 MB / 1.281 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007378/1.198, allocations: 2.068 MB / 1.283 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006848/1.204, allocations: 1.833 MB / 1.285 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00761/1.212, allocations: 4.164 MB / 1.289 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/1.215, allocations: 0.9993 MB / 1.29 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006723/1.222, allocations: 1.641 MB / 1.292 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/1.226, allocations: 1.051 MB / 1.293 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008883/1.226, allocations: 67.88 kB / 1.293 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009507/1.236, allocations: 3.21 MB / 1.296 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/1.237, allocations: 360.4 kB / 1.296 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003198/1.241, allocations: 0.7298 MB / 1.297 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01163/1.252, allocations: 3.145 MB / 1.3 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.252, allocations: 0 / 1.3 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.884e-06/1.252, allocations: 0 / 1.3 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.006e-05/1.252, allocations: 0 / 1.3 GB, free: 4.578 MB / 0.9981 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.008915/1.261, allocations: 2.118 MB / 1.302 GB, free: 19.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.261, allocations: 9.344 kB / 1.302 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/1.266, allocations: 0.5169 MB / 1.303 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/1.269, allocations: 1.081 MB / 1.304 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007069/1.27, allocations: 189.7 kB / 1.304 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004998/1.271, allocations: 97.56 kB / 1.304 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004893/1.276, allocations: 1.269 MB / 1.305 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/1.276, allocations: 0 / 1.305 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/1.276, allocations: 36.59 kB / 1.305 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.688e-05/1.276, allocations: 38.08 kB / 1.305 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004811/1.281, allocations: 1.293 MB / 1.307 GB, free: 18.8 MB / 1.014 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.01265/1.294, allocations: 4.86 MB / 1.312 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003612/1.297, allocations: 0.9857 MB / 1.312 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/1.299, allocations: 0.5608 MB / 1.313 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/1.301, allocations: 0.8407 MB / 1.314 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/1.303, allocations: 0.679 MB / 1.314 GB, free: 15.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.957e-06/1.303, allocations: 5.062 kB / 1.315 GB, free: 15.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004637/1.307, allocations: 1.729 MB / 1.316 GB, free: 15.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/1.307, allocations: 120.2 kB / 1.316 GB, free: 15.37 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/1.309, allocations: 1.04 MB / 1.317 GB, free: 15.22 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001819/1.309, allocations: 49.02 kB / 1.317 GB, free: 15.19 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/1.31, allocations: 0.5287 MB / 1.318 GB, free: 15 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/1.31, allocations: 270 kB / 1.318 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/1.31, allocations: 214.6 kB / 1.318 GB, free: 14.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.31, allocations: 341.4 kB / 1.319 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/1.312, allocations: 0.4962 MB / 1.319 GB, free: 14.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/1.313, allocations: 0.6877 MB / 1.32 GB, free: 14.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/1.316, allocations: 1.176 MB / 1.321 GB, free: 14.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/1.316, allocations: 0 / 1.321 GB, free: 14.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003479/1.319, allocations: 1.455 MB / 1.322 GB, free: 13.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/1.319, allocations: 76.86 kB / 1.322 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.319, allocations: 4.094 kB / 1.322 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.319, allocations: 10.83 kB / 1.322 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.321, allocations: 248.8 kB / 1.323 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/1.321, allocations: 9.703 kB / 1.323 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.322, allocations: 203.1 kB / 1.323 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/1.323, allocations: 52.02 kB / 1.323 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001732/1.324, allocations: 0.7359 MB / 1.324 GB, free: 13.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001352/1.326, allocations: 0.6769 MB / 1.324 GB, free: 13.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002374/1.328, allocations: 1.17 MB / 1.325 GB, free: 13.19 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/1.328, allocations: 3.938 kB / 1.326 GB, free: 13.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.003361/1.331, allocations: 1.45 MB / 1.327 GB, free: 12.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/1.332, allocations: 71.91 kB / 1.327 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.332, allocations: 6.688 kB / 1.327 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/1.332, allocations: 8.75 kB / 1.327 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.333, allocations: 245.8 kB / 1.327 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.333, allocations: 8.25 kB / 1.327 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.335, allocations: 189.4 kB / 1.327 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.335, allocations: 42.69 kB / 1.327 GB, free: 12.86 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (106): * Single equations (assignments): 104 * 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.0003873/1.335, allocations: 308.2 kB / 1.328 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/1.335, allocations: 130 kB / 1.328 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/1.339, allocations: 1.475 MB / 1.329 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/1.339, allocations: 8.562 kB / 1.329 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/1.339, allocations: 0 / 1.329 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.339, allocations: 3.094 kB / 1.329 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005496/1.344, allocations: 2.934 MB / 1.332 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.344, allocations: 3.984 kB / 1.332 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.345, allocations: 197.2 kB / 1.332 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/1.345, allocations: 7.969 kB / 1.332 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.149e-05/1.345, allocations: 33.39 kB / 1.332 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.345, allocations: 9.625 kB / 1.332 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.346, allocations: 12 kB / 1.332 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/1.35, allocations: 2.226 MB / 1.335 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007422/1.351, allocations: 338.2 kB / 1.335 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/1.351, allocations: 31.75 kB / 1.335 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/1.353, allocations: 140.6 kB / 1.335 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.353, allocations: 60.81 kB / 1.335 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.353, allocations: 42.41 kB / 1.335 GB, free: 11.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001084/1.354, allocations: 0.7121 MB / 1.336 GB, free: 11.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.354, allocations: 0 / 1.336 GB, free: 11.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002589/1.357, allocations: 0.7997 MB / 1.337 GB, free: 10.85 MB / 1.014 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: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * 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 (82): * Single equations (assignments): 78 * 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.001549/1.358, allocations: 0.5321 MB / 1.337 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005175/1.363, allocations: 2.194 MB / 1.339 GB, free: 9.797 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.363, allocations: 4.062 kB / 1.339 GB, free: 9.793 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/1.365, allocations: 0.7588 MB / 1.34 GB, free: 9.477 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/1.369, allocations: 0.5146 MB / 1.341 GB, free: 9.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/1.374, allocations: 2.859 MB / 1.343 GB, free: 7.656 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008266/1.375, allocations: 1.156 MB / 1.345 GB, free: 6.918 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002226/1.377, allocations: 357.2 kB / 1.345 GB, free: 6.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/1.377, allocations: 107.9 kB / 1.345 GB, free: 6.805 MB / 1.014 GB Notification: Performance of SimCode: time 1.262e-06/1.377, allocations: 0 / 1.345 GB, free: 6.805 MB / 1.014 GB Notification: Performance of Templates: time 0.04299/1.42, allocations: 25.67 MB / 1.37 GB, free: 8.051 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)