Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001085/0.001085, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001033/0.001033, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 294.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9162/0.9162, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 103.8 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4736, allocations: 86.97 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.578/1.052, allocations: 211.1 MB / 0.9732 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01268/1.064, allocations: 10.66 MB / 0.9836 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/1.066, allocations: 60.62 kB / 0.9836 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/1.068, allocations: 0.8284 MB / 0.9844 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004615/1.072, allocations: 2.475 MB / 0.9869 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004632/1.077, allocations: 2.29 MB / 0.9891 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003501/1.081, allocations: 3.709 MB / 0.9927 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/1.082, allocations: 1.329 MB / 0.994 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003784/1.086, allocations: 1.982 MB / 0.996 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/1.088, allocations: 1.156 MB / 0.9971 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002382/1.088, allocations: 149.3 kB / 0.9972 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00534/1.093, allocations: 3.078 MB / 1 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005226/1.094, allocations: 471.3 kB / 1.001 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/1.095, allocations: 0.9082 MB / 1.002 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004962/1.1, allocations: 3.344 MB / 1.005 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.1, allocations: 0.8125 kB / 1.005 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/1.1, allocations: 0 / 1.005 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.141e-05/1.1, allocations: 4.719 kB / 1.005 GB, free: 0.9258 MB / 0.7169 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.004389/1.104, allocations: 2.359 MB / 1.007 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/1.104, allocations: 10.06 kB / 1.007 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/1.107, allocations: 0.5406 MB / 1.008 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/1.109, allocations: 1.307 MB / 1.009 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.293e-05/1.109, allocations: 88.25 kB / 1.009 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/1.11, allocations: 110.5 kB / 1.009 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/1.112, allocations: 1.319 MB / 1.01 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/1.112, allocations: 0 / 1.01 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.112, allocations: 37.38 kB / 1.01 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/1.112, allocations: 47.23 kB / 1.011 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/1.115, allocations: 1.327 MB / 1.012 GB, free: 15.09 MB / 0.7325 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.007241/1.122, allocations: 5.262 MB / 1.017 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/1.125, allocations: 0.984 MB / 1.018 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/1.126, allocations: 0.5349 MB / 1.018 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/1.127, allocations: 0.7535 MB / 1.019 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/1.128, allocations: 0.6088 MB / 1.02 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=81): time 2.585e-06/1.128, allocations: 0.9375 kB / 1.02 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81): time 0.003889/1.132, allocations: 1.556 MB / 1.021 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/1.132, allocations: 62.09 kB / 1.021 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/1.133, allocations: 1.333 MB / 1.023 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/1.134, allocations: 49.83 kB / 1.023 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/1.134, allocations: 0.6379 MB / 1.023 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/1.134, allocations: 279.4 kB / 1.024 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/1.135, allocations: 239.5 kB / 1.024 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.135, allocations: 343.4 kB / 1.024 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/1.136, allocations: 0.4976 MB / 1.025 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/1.137, allocations: 0.7584 MB / 1.025 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/1.14, allocations: 1.153 MB / 1.026 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.14, allocations: 0 / 1.026 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003112/1.143, allocations: 1.445 MB / 1.028 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/1.143, allocations: 36.47 kB / 1.028 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.143, allocations: 5.125 kB / 1.028 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.143, allocations: 9.344 kB / 1.028 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/1.145, allocations: 332.2 kB / 1.028 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006765/1.145, allocations: 1.202 MB / 1.029 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/1.147, allocations: 189.2 kB / 1.03 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.147, allocations: 52.77 kB / 1.03 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001599/1.149, allocations: 0.7436 MB / 1.03 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001436/1.15, allocations: 0.7481 MB / 1.031 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002452/1.153, allocations: 1.153 MB / 1.032 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/1.153, allocations: 0 / 1.032 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003133/1.156, allocations: 1.44 MB / 1.034 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.156, allocations: 33.3 kB / 1.034 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.156, allocations: 5.781 kB / 1.034 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/1.156, allocations: 14.69 kB / 1.034 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/1.157, allocations: 301.9 kB / 1.034 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.157, allocations: 13.91 kB / 1.034 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.159, allocations: 173.1 kB / 1.034 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.995e-05/1.159, allocations: 49.56 kB / 1.034 GB, free: 8.152 MB / 0.7325 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.0003259/1.159, allocations: 247.7 kB / 1.034 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/1.159, allocations: 154.3 kB / 1.035 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/1.163, allocations: 1.308 MB / 1.036 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/1.163, allocations: 1.828 kB / 1.036 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.163, allocations: 1.219 kB / 1.036 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006202/1.163, allocations: 360.4 kB / 1.036 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/1.163, allocations: 20.25 kB / 1.036 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.165, allocations: 112.1 kB / 1.036 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.165, allocations: 58.62 kB / 1.036 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003594/1.168, allocations: 1.289 MB / 1.038 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004286/1.173, allocations: 1.981 MB / 1.04 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001231/1.174, allocations: 0.5381 MB / 1.04 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00123/1.175, allocations: 0.8907 MB / 1.041 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of Backend: time 4.01e-07/1.175, allocations: 0 / 1.041 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006205/1.181, allocations: 2.286 MB / 1.043 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of SimCode: time 0.005726/1.187, allocations: 3.162 MB / 1.046 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of Templates: time 0.06286/1.25, allocations: 40.52 MB / 1.086 GB, free: 7.98 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)