Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 108 kB / 15.61 MB, free: 152 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.001223/0.001223, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.05 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2838, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.8073/1.091, allocations: 211.1 MB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01489/1.106, allocations: 10.66 MB / 1.285 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/1.109, allocations: 61.19 kB / 1.285 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002537/1.111, allocations: 0.8308 MB / 1.286 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007019/1.119, allocations: 2.476 MB / 1.288 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006749/1.125, allocations: 2.269 MB / 1.29 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006433/1.132, allocations: 3.689 MB / 1.294 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/1.134, allocations: 1.333 MB / 1.295 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/1.139, allocations: 1.948 MB / 1.297 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/1.142, allocations: 1.146 MB / 1.298 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005619/1.142, allocations: 151 kB / 1.298 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007065/1.149, allocations: 3.027 MB / 1.301 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009153/1.15, allocations: 474.4 kB / 1.302 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001848/1.152, allocations: 0.9033 MB / 1.303 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008128/1.16, allocations: 3.298 MB / 1.306 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.16, allocations: 0.9375 kB / 1.306 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.066e-06/1.16, allocations: 1.125 kB / 1.306 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.997e-05/1.16, allocations: 3.094 kB / 1.306 GB, free: 4.602 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006411/1.167, allocations: 2.345 MB / 1.308 GB, free: 19.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.167, allocations: 9.438 kB / 1.308 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/1.17, allocations: 0.541 MB / 1.309 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/1.173, allocations: 1.251 MB / 1.31 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006541/1.173, allocations: 195.6 kB / 1.31 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/1.174, allocations: 113.4 kB / 1.31 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/1.177, allocations: 1.328 MB / 1.311 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.177, allocations: 3.25 kB / 1.311 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.177, allocations: 39.94 kB / 1.311 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/1.177, allocations: 43.48 kB / 1.312 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/1.18, allocations: 1.344 MB / 1.313 GB, free: 18.77 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.009226/1.189, allocations: 5.307 MB / 1.318 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/1.192, allocations: 1.022 MB / 1.319 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/1.193, allocations: 0.5393 MB / 1.32 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/1.194, allocations: 0.7548 MB / 1.32 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/1.196, allocations: 0.6109 MB / 1.321 GB, free: 15.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 3.987e-06/1.196, allocations: 4 kB / 1.321 GB, free: 15.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.00451/1.2, allocations: 1.584 MB / 1.322 GB, free: 15.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/1.201, allocations: 67 kB / 1.322 GB, free: 15.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/1.202, allocations: 1.329 MB / 1.324 GB, free: 15.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/1.203, allocations: 49.2 kB / 1.324 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004823/1.203, allocations: 0.641 MB / 1.324 GB, free: 15.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/1.203, allocations: 284.4 kB / 1.325 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/1.204, allocations: 234.6 kB / 1.325 GB, free: 14.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.204, allocations: 347.8 kB / 1.325 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/1.205, allocations: 0.5071 MB / 1.326 GB, free: 14.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/1.207, allocations: 0.7711 MB / 1.327 GB, free: 14.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/1.209, allocations: 1.174 MB / 1.328 GB, free: 14.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.209, allocations: 0 / 1.328 GB, free: 14.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003554/1.213, allocations: 1.462 MB / 1.329 GB, free: 13.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/1.213, allocations: 36.72 kB / 1.329 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.213, allocations: 13.06 kB / 1.329 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/1.213, allocations: 8.438 kB / 1.329 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/1.215, allocations: 340.1 kB / 1.329 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006451/1.215, allocations: 1.203 MB / 1.331 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/1.217, allocations: 192.6 kB / 1.331 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.217, allocations: 53.47 kB / 1.331 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001755/1.219, allocations: 0.7498 MB / 1.332 GB, free: 12.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001438/1.22, allocations: 0.7606 MB / 1.332 GB, free: 12.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002585/1.223, allocations: 1.161 MB / 1.334 GB, free: 11.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.571e-06/1.223, allocations: 3.594 kB / 1.334 GB, free: 11.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003731/1.227, allocations: 1.45 MB / 1.335 GB, free: 11.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/1.227, allocations: 35.75 kB / 1.335 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.227, allocations: 4.406 kB / 1.335 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.227, allocations: 12.94 kB / 1.335 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.228, allocations: 311 kB / 1.335 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/1.228, allocations: 15.78 kB / 1.335 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.23, allocations: 175.5 kB / 1.335 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.23, allocations: 54.95 kB / 1.336 GB, free: 11.33 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004053/1.231, allocations: 243.6 kB / 1.336 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/1.231, allocations: 158.1 kB / 1.336 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/1.234, allocations: 1.324 MB / 1.337 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.234, allocations: 10.75 kB / 1.337 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.234, allocations: 7.922 kB / 1.337 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.235, allocations: 4.922 kB / 1.337 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/1.24, allocations: 2.844 MB / 1.34 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.24, allocations: 4.875 kB / 1.34 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.241, allocations: 234 kB / 1.34 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/1.241, allocations: 9.5 kB / 1.34 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.35e-05/1.241, allocations: 29.84 kB / 1.34 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005447/1.242, allocations: 1.188 MB / 1.341 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.242, allocations: 5.188 kB / 1.341 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/1.246, allocations: 2.055 MB / 1.343 GB, free: 7.133 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007909/1.247, allocations: 360.3 kB / 1.344 GB, free: 6.883 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/1.247, allocations: 25.56 kB / 1.344 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.249, allocations: 115.4 kB / 1.344 GB, free: 6.848 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.249, allocations: 80.28 kB / 1.344 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/1.249, allocations: 35.7 kB / 1.344 GB, free: 6.824 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001291/1.25, allocations: 0.9029 MB / 1.345 GB, free: 6.473 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.25, allocations: 0 / 1.345 GB, free: 6.473 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002126/1.252, allocations: 0.7891 MB / 1.346 GB, free: 6.328 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/1.253, allocations: 469.8 kB / 1.346 GB, free: 6.152 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005444/1.259, allocations: 2.13 MB / 1.348 GB, free: 5.477 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.259, allocations: 0 / 1.348 GB, free: 5.477 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/1.261, allocations: 0.6242 MB / 1.349 GB, free: 5.312 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/1.264, allocations: 0.6806 MB / 1.349 GB, free: 5.078 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/1.269, allocations: 2.738 MB / 1.352 GB, free: 3.645 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/1.269, allocations: 1.23 MB / 1.353 GB, free: 2.895 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001984/1.271, allocations: 410.6 kB / 1.354 GB, free: 2.797 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/1.272, allocations: 118.8 kB / 1.354 GB, free: 2.785 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.272, allocations: 2.562 kB / 1.354 GB, free: 2.785 MB / 1.014 GB Notification: Performance of Templates: time 0.04947/1.321, allocations: 30.37 MB / 1.384 GB, free: 13.72 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)