Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009969/0.000997, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00676/0.00676, allocations: 170 kB / 16.26 MB, free: 6.613 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003749, allocations: 14.84 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3419, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.9606/1.303, allocations: 205.9 MB / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01599/1.319, allocations: 10.74 MB / 1.286 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/1.321, allocations: 54.53 kB / 1.286 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002688/1.324, allocations: 0.6738 MB / 1.286 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008793/1.333, allocations: 2.256 MB / 1.289 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007424/1.34, allocations: 2.028 MB / 1.291 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008832/1.349, allocations: 4.591 MB / 1.295 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/1.352, allocations: 1.122 MB / 1.296 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/1.357, allocations: 1.693 MB / 1.298 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00422/1.361, allocations: 1.106 MB / 1.299 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009469/1.362, allocations: 67.7 kB / 1.299 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009021/1.371, allocations: 3.176 MB / 1.302 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/1.373, allocations: 375.2 kB / 1.302 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002448/1.375, allocations: 0.8214 MB / 1.303 GB, free: 21.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008293/1.383, allocations: 3.29 MB / 1.306 GB, free: 21.33 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/1.383, allocations: 0 / 1.306 GB, free: 21.33 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.264e-06/1.383, allocations: 0 / 1.306 GB, free: 21.33 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.788e-05/1.384, allocations: 0 / 1.306 GB, free: 21.33 MB / 1.014 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.00564/1.389, allocations: 2.027 MB / 1.308 GB, free: 20.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.389, allocations: 9.219 kB / 1.308 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/1.393, allocations: 0.5799 MB / 1.309 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/1.396, allocations: 1.251 MB / 1.31 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007305/1.397, allocations: 220.7 kB / 1.31 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/1.397, allocations: 111.3 kB / 1.311 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/1.4, allocations: 1.35 MB / 1.312 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/1.4, allocations: 1.125 kB / 1.312 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.4, allocations: 42.2 kB / 1.312 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/1.4, allocations: 49.75 kB / 1.312 GB, free: 19.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003467/1.404, allocations: 1.393 MB / 1.313 GB, free: 19.47 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.00954/1.413, allocations: 5.322 MB / 1.319 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/1.416, allocations: 1.059 MB / 1.32 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/1.417, allocations: 0.5596 MB / 1.32 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/1.418, allocations: 0.7748 MB / 1.321 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/1.42, allocations: 0.6349 MB / 1.321 GB, free: 16.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 3.987e-06/1.42, allocations: 3.406 kB / 1.321 GB, free: 16.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.004766/1.425, allocations: 1.647 MB / 1.323 GB, free: 16.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/1.425, allocations: 60.19 kB / 1.323 GB, free: 16.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/1.427, allocations: 1.333 MB / 1.324 GB, free: 15.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/1.427, allocations: 50.86 kB / 1.325 GB, free: 15.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005179/1.427, allocations: 0.6489 MB / 1.325 GB, free: 15.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/1.428, allocations: 276.2 kB / 1.325 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/1.428, allocations: 97.39 kB / 1.325 GB, free: 15.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.428, allocations: 342.2 kB / 1.326 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/1.429, allocations: 0.5207 MB / 1.326 GB, free: 15.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/1.431, allocations: 0.7953 MB / 1.327 GB, free: 14.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/1.433, allocations: 1.219 MB / 1.328 GB, free: 14.67 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/1.433, allocations: 7.5 kB / 1.328 GB, free: 14.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003608/1.437, allocations: 1.504 MB / 1.33 GB, free: 14.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/1.437, allocations: 261.8 kB / 1.33 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.437, allocations: 6.156 kB / 1.33 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.437, allocations: 12.53 kB / 1.33 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.439, allocations: 357.2 kB / 1.33 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000804/1.44, allocations: 1.194 MB / 1.332 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/1.442, allocations: 242.2 kB / 1.332 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.442, allocations: 50.77 kB / 1.332 GB, free: 12.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/1.442, allocations: 6.5 kB / 1.332 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003148/1.445, allocations: 1.353 MB / 1.333 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.445, allocations: 5.406 kB / 1.333 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/1.445, allocations: 9.406 kB / 1.333 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.447, allocations: 321.4 kB / 1.333 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.447, allocations: 11.86 kB / 1.333 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.449, allocations: 213.8 kB / 1.334 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/1.449, allocations: 55.88 kB / 1.334 GB, free: 12.77 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.0008899/1.45, allocations: 411.9 kB / 1.334 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/1.45, allocations: 155.7 kB / 1.334 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/1.453, allocations: 1.363 MB / 1.336 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/1.453, allocations: 12.08 kB / 1.336 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/1.453, allocations: 0 / 1.336 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/1.453, allocations: 5.25 kB / 1.336 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005548/1.459, allocations: 2.894 MB / 1.338 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.459, allocations: 3.531 kB / 1.338 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.46, allocations: 243.2 kB / 1.339 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/1.46, allocations: 9.188 kB / 1.339 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/1.46, allocations: 31.33 kB / 1.339 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006009/1.461, allocations: 1.189 MB / 1.34 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.461, allocations: 6.219 kB / 1.34 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/1.465, allocations: 2.117 MB / 1.342 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008063/1.466, allocations: 369.3 kB / 1.342 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/1.466, allocations: 31.8 kB / 1.342 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.467, allocations: 158.4 kB / 1.343 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.468, allocations: 75.62 kB / 1.343 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/1.468, allocations: 37.44 kB / 1.343 GB, free: 10.04 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001271/1.469, allocations: 0.8966 MB / 1.343 GB, free: 9.934 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.469, allocations: 7.938 kB / 1.343 GB, free: 9.926 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002497/1.472, allocations: 0.7844 MB / 1.344 GB, free: 9.844 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.001222/1.473, allocations: 476.3 kB / 1.345 GB, free: 9.684 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005105/1.478, allocations: 2.114 MB / 1.347 GB, free: 9.312 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.478, allocations: 5.625 kB / 1.347 GB, free: 9.312 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/1.479, allocations: 0.6439 MB / 1.347 GB, free: 9.152 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0045/1.484, allocations: 0.6933 MB / 1.348 GB, free: 8.965 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/1.49, allocations: 3.322 MB / 1.351 GB, free: 6.797 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.491, allocations: 1.232 MB / 1.353 GB, free: 5.852 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002544/1.493, allocations: 414.4 kB / 1.353 GB, free: 5.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/1.494, allocations: 117.5 kB / 1.353 GB, free: 5.641 MB / 1.014 GB Notification: Performance of SimCode: time 3.146e-06/1.494, allocations: 0 / 1.353 GB, free: 5.641 MB / 1.014 GB Notification: Performance of Templates: time 0.05289/1.547, allocations: 29.37 MB / 1.382 GB, free: 3.414 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)