Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001113/0.001114, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 195.3 kB / 16.53 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 60.17 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3213, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.788/1.109, allocations: 206.9 MB / 1.27 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01806/1.127, allocations: 13.59 MB / 1.283 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/1.13, allocations: 45.53 kB / 1.284 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002679/1.133, allocations: 0.8003 MB / 1.284 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006917/1.14, allocations: 2.22 MB / 1.286 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006631/1.146, allocations: 2.103 MB / 1.289 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0065/1.153, allocations: 3.281 MB / 1.292 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/1.155, allocations: 1.166 MB / 1.293 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005546/1.161, allocations: 1.848 MB / 1.295 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002553/1.163, allocations: 1.046 MB / 1.296 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004079/1.164, allocations: 129.5 kB / 1.296 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006626/1.17, allocations: 3.03 MB / 1.299 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008192/1.171, allocations: 427 kB / 1.299 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/1.173, allocations: 0.7868 MB / 1.3 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00805/1.181, allocations: 3.105 MB / 1.303 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.181, allocations: 1.094 kB / 1.303 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.284e-06/1.181, allocations: 0 / 1.303 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.643e-05/1.181, allocations: 0 / 1.303 GB, free: 4.859 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.005422/1.186, allocations: 2.119 MB / 1.305 GB, free: 19.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.186, allocations: 9.938 kB / 1.305 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/1.19, allocations: 0.5251 MB / 1.306 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/1.192, allocations: 1.08 MB / 1.307 GB, free: 19.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006779/1.192, allocations: 189.7 kB / 1.307 GB, free: 19.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/1.193, allocations: 92.91 kB / 1.307 GB, free: 19.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/1.195, allocations: 1.26 MB / 1.308 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/1.195, allocations: 5.047 kB / 1.308 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.195, allocations: 40.09 kB / 1.308 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/1.196, allocations: 43.28 kB / 1.308 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/1.199, allocations: 1.289 MB / 1.309 GB, free: 19.15 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.008196/1.207, allocations: 4.895 MB / 1.314 GB, free: 17.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/1.209, allocations: 0.9883 MB / 1.315 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/1.211, allocations: 0.5576 MB / 1.316 GB, free: 17.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/1.212, allocations: 0.8331 MB / 1.317 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/1.213, allocations: 0.6933 MB / 1.317 GB, free: 16.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.387e-06/1.213, allocations: 0 / 1.317 GB, free: 16.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004428/1.218, allocations: 1.728 MB / 1.319 GB, free: 15.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/1.218, allocations: 117.2 kB / 1.319 GB, free: 15.78 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/1.219, allocations: 1.043 MB / 1.32 GB, free: 15.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/1.22, allocations: 43.39 kB / 1.32 GB, free: 15.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/1.22, allocations: 0.5324 MB / 1.321 GB, free: 15.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/1.22, allocations: 274.7 kB / 1.321 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/1.221, allocations: 209.5 kB / 1.321 GB, free: 15.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.221, allocations: 338.1 kB / 1.321 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/1.222, allocations: 0.5007 MB / 1.322 GB, free: 14.88 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/1.223, allocations: 0.6802 MB / 1.323 GB, free: 14.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/1.226, allocations: 1.176 MB / 1.324 GB, free: 14.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.226, allocations: 3.406 kB / 1.324 GB, free: 14.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003373/1.229, allocations: 1.456 MB / 1.325 GB, free: 14.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/1.229, allocations: 74.53 kB / 1.325 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.229, allocations: 6.469 kB / 1.325 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.229, allocations: 9.406 kB / 1.325 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.231, allocations: 243.2 kB / 1.325 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.231, allocations: 8.344 kB / 1.325 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.232, allocations: 170.4 kB / 1.326 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.232, allocations: 44.34 kB / 1.326 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001612/1.234, allocations: 0.7372 MB / 1.326 GB, free: 14.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001319/1.235, allocations: 0.6809 MB / 1.327 GB, free: 13.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002387/1.237, allocations: 1.167 MB / 1.328 GB, free: 13.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/1.237, allocations: 3.938 kB / 1.328 GB, free: 13.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.00341/1.241, allocations: 1.452 MB / 1.33 GB, free: 13.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/1.241, allocations: 75.53 kB / 1.33 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.241, allocations: 2.469 kB / 1.33 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/1.241, allocations: 8.344 kB / 1.33 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.242, allocations: 243.8 kB / 1.33 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.242, allocations: 12.44 kB / 1.33 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/1.244, allocations: 152.3 kB / 1.33 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.244, allocations: 48.25 kB / 1.33 GB, free: 13.27 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.00043/1.244, allocations: 308.9 kB / 1.33 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/1.245, allocations: 133.3 kB / 1.331 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/1.248, allocations: 1.476 MB / 1.332 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/1.248, allocations: 8.375 kB / 1.332 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.248, allocations: 0 / 1.332 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/1.248, allocations: 5.719 kB / 1.332 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005103/1.253, allocations: 2.928 MB / 1.335 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/1.253, allocations: 6.406 kB / 1.335 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/1.254, allocations: 195.8 kB / 1.335 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/1.254, allocations: 8.875 kB / 1.335 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.478e-05/1.254, allocations: 34.58 kB / 1.335 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/1.254, allocations: 9.828 kB / 1.335 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.254, allocations: 9.312 kB / 1.335 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/1.259, allocations: 2.232 MB / 1.337 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/1.259, allocations: 341 kB / 1.338 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/1.26, allocations: 23.72 kB / 1.338 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.261, allocations: 111.4 kB / 1.338 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.261, allocations: 61.64 kB / 1.338 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.062e-05/1.261, allocations: 40.41 kB / 1.338 GB, free: 10.76 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009711/1.262, allocations: 0.7225 MB / 1.339 GB, free: 10.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 3e-07/1.262, allocations: 0 / 1.339 GB, free: 10.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002162/1.264, allocations: 0.7912 MB / 1.339 GB, free: 10.3 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.001234/1.265, allocations: 0.5143 MB / 1.34 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00509/1.27, allocations: 2.266 MB / 1.342 GB, free: 9.238 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.271, allocations: 2.594 kB / 1.342 GB, free: 9.238 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/1.272, allocations: 0.7565 MB / 1.343 GB, free: 8.918 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/1.275, allocations: 0.5052 MB / 1.343 GB, free: 8.746 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005609/1.281, allocations: 2.39 MB / 1.346 GB, free: 7.539 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007372/1.282, allocations: 1.157 MB / 1.347 GB, free: 6.801 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001892/1.283, allocations: 358.7 kB / 1.347 GB, free: 6.703 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/1.284, allocations: 104.7 kB / 1.347 GB, free: 6.691 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/1.284, allocations: 0 / 1.347 GB, free: 6.691 MB / 1.014 GB Notification: Performance of Templates: time 0.04521/1.329, allocations: 26.33 MB / 1.373 GB, free: 7.887 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)