Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009564/0.0009564, allocations: 180 kB / 327.6 MB, free: 2.156 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.478/1.478, allocations: 205.4 MB / 0.5785 GB, free: 20.18 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.0007984/0.0007986, allocations: 94.12 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 14.06 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.196, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.322/4.518, allocations: 2.475 GB / 3.376 GB, free: 77.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/4.519, allocations: 100.5 kB / 3.377 GB, free: 77.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.652/7.171, allocations: 0.9137 GB / 4.29 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.492e-06/7.171, allocations: 2.594 kB / 4.29 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001431/7.171, allocations: 44.02 kB / 4.29 GB, free: 132.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005148/7.176, allocations: 2.38 MB / 4.293 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/7.176, allocations: 9.438 kB / 4.293 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/7.179, allocations: 0.5458 MB / 4.293 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/7.181, allocations: 1.468 MB / 4.295 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005379/7.182, allocations: 223 kB / 4.295 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/7.182, allocations: 117.2 kB / 4.295 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/7.184, allocations: 1.407 MB / 4.296 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/7.184, allocations: 0 / 4.296 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/7.184, allocations: 41.5 kB / 4.296 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/7.184, allocations: 40.84 kB / 4.296 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/7.187, allocations: 1.398 MB / 4.298 GB, free: 130.4 MB / 0.8855 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.007402/7.194, allocations: 5.458 MB / 4.303 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/7.197, allocations: 1.113 MB / 4.304 GB, free: 128 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009974/7.198, allocations: 0.5617 MB / 4.305 GB, free: 128 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007508/7.198, allocations: 0.7547 MB / 4.305 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/7.2, allocations: 0.6475 MB / 4.306 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=81): time 3.647e-06/7.2, allocations: 0 / 4.306 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.003722/7.203, allocations: 1.689 MB / 4.308 GB, free: 127 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/7.203, allocations: 194.3 kB / 4.308 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/7.205, allocations: 1.348 MB / 4.309 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/7.205, allocations: 49.02 kB / 4.309 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004807/7.206, allocations: 0.6483 MB / 4.31 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/7.206, allocations: 273.8 kB / 4.31 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/7.206, allocations: 25.5 kB / 4.31 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/7.206, allocations: 349.2 kB / 4.311 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/7.207, allocations: 0.5516 MB / 4.311 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/7.208, allocations: 0.8806 MB / 4.312 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/7.211, allocations: 1.278 MB / 4.313 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/7.211, allocations: 0 / 4.313 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003231/7.214, allocations: 1.579 MB / 4.315 GB, free: 125 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/7.214, allocations: 264.9 kB / 4.315 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/7.214, allocations: 7.5 kB / 4.315 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/7.214, allocations: 14.33 kB / 4.315 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/7.216, allocations: 358.5 kB / 4.315 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004573/7.216, allocations: 1.2 MB / 4.316 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/7.218, allocations: 248.9 kB / 4.317 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/7.218, allocations: 60.23 kB / 4.317 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-06/7.218, allocations: 3.938 kB / 4.317 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002691/7.221, allocations: 1.418 MB / 4.318 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/7.221, allocations: 10.78 kB / 4.318 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/7.221, allocations: 11.44 kB / 4.318 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/7.222, allocations: 316.4 kB / 4.318 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/7.222, allocations: 22.45 kB / 4.319 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/7.224, allocations: 224.1 kB / 4.319 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/7.224, allocations: 61.81 kB / 4.319 GB, free: 123.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008011/7.225, allocations: 427 kB / 4.319 GB, free: 123 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/7.225, allocations: 158.2 kB / 4.319 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/7.228, allocations: 1.394 MB / 4.321 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/7.228, allocations: 11.06 kB / 4.321 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/7.228, allocations: 3.812 kB / 4.321 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/7.228, allocations: 3.797 kB / 4.321 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/7.233, allocations: 2.887 MB / 4.324 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/7.233, allocations: 7.875 kB / 4.324 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/7.234, allocations: 247.3 kB / 4.324 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/7.234, allocations: 10.88 kB / 4.324 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/7.234, allocations: 32.22 kB / 4.324 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003216/7.234, allocations: 1.192 MB / 4.325 GB, free: 121 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/7.234, allocations: 7.406 kB / 4.325 GB, free: 121 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/7.238, allocations: 2.161 MB / 4.327 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/7.239, allocations: 372.7 kB / 4.327 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/7.239, allocations: 25 kB / 4.327 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/7.24, allocations: 138.4 kB / 4.328 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/7.24, allocations: 71.34 kB / 4.328 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/7.24, allocations: 42.53 kB / 4.328 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001228/7.241, allocations: 0.9007 MB / 4.329 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.91e-07/7.241, allocations: 0 / 4.329 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002716/7.244, allocations: 1.049 MB / 4.33 GB, free: 120.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002925/7.247, allocations: 2.17 MB / 4.332 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004681/7.252, allocations: 2.266 MB / 4.334 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/7.252, allocations: 4.812 kB / 4.334 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/7.253, allocations: 0.669 MB / 4.335 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/7.257, allocations: 0.6888 MB / 4.335 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/7.262, allocations: 3.242 MB / 4.338 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/7.263, allocations: 1.242 MB / 4.34 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002027/7.265, allocations: 421.6 kB / 4.34 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/7.265, allocations: 123 kB / 4.34 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/7.265, allocations: 0 / 4.34 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.06259/7.328, allocations: 50.49 MB / 4.389 GB, free: 64.39 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)