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.001091/0.001091, allocations: 114.6 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.00111/0.00111, 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.323/1.323, allocations: 222.9 MB / 241.1 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.002226/0.002226, allocations: 295.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9727/0.9727, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 107.8 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4132, allocations: 86.98 MB / 0.7671 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6071/1.02, allocations: 211.1 MB / 0.9732 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01446/1.035, allocations: 10.65 MB / 0.9836 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/1.037, allocations: 59.62 kB / 0.9836 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/1.039, allocations: 0.8522 MB / 0.9845 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005565/1.045, allocations: 2.589 MB / 0.987 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004992/1.05, allocations: 2.301 MB / 0.9892 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003885/1.053, allocations: 3.716 MB / 0.9929 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/1.055, allocations: 1.331 MB / 0.9942 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/1.059, allocations: 2.004 MB / 0.9961 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/1.06, allocations: 1.155 MB / 0.9972 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002438/1.061, allocations: 152.9 kB / 0.9974 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004854/1.065, allocations: 3.081 MB / 1 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004278/1.066, allocations: 476.4 kB / 1.001 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009429/1.067, allocations: 0.8958 MB / 1.002 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00468/1.072, allocations: 3.353 MB / 1.005 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.072, allocations: 0 / 1.005 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/1.072, allocations: 4.406 kB / 1.005 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.144e-05/1.072, allocations: 0 / 1.005 GB, free: 0.9844 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.00456/1.076, allocations: 2.353 MB / 1.007 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/1.076, allocations: 11.19 kB / 1.007 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/1.079, allocations: 0.5431 MB / 1.008 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/1.082, allocations: 1.314 MB / 1.009 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/1.082, allocations: 86.25 kB / 1.009 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/1.082, allocations: 106.2 kB / 1.009 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/1.084, allocations: 1.316 MB / 1.011 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/1.084, allocations: 4.281 kB / 1.011 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/1.085, allocations: 37.47 kB / 1.011 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/1.085, allocations: 45.2 kB / 1.011 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/1.088, allocations: 1.327 MB / 1.012 GB, free: 15.14 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.008211/1.096, allocations: 5.263 MB / 1.017 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/1.098, allocations: 0.9876 MB / 1.018 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/1.099, allocations: 0.5363 MB / 1.019 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/1.101, allocations: 0.7509 MB / 1.019 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/1.102, allocations: 0.606 MB / 1.02 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=81): time 5.841e-06/1.102, allocations: 0 / 1.02 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81): time 0.004179/1.106, allocations: 1.555 MB / 1.021 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/1.106, allocations: 63.69 kB / 1.022 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/1.108, allocations: 1.335 MB / 1.023 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/1.108, allocations: 48.86 kB / 1.023 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/1.109, allocations: 0.6429 MB / 1.023 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/1.109, allocations: 278.2 kB / 1.024 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/1.109, allocations: 239.7 kB / 1.024 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.11, allocations: 344.3 kB / 1.024 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/1.111, allocations: 0.4945 MB / 1.025 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/1.112, allocations: 0.7583 MB / 1.026 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/1.115, allocations: 1.155 MB / 1.027 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/1.115, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00332/1.118, allocations: 1.442 MB / 1.028 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/1.118, allocations: 33.11 kB / 1.028 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.118, allocations: 10.06 kB / 1.028 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.118, allocations: 13.59 kB / 1.028 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/1.12, allocations: 333.1 kB / 1.028 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/1.121, allocations: 1.2 MB / 1.03 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.122, allocations: 188 kB / 1.03 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.122, allocations: 52.81 kB / 1.03 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001655/1.124, allocations: 0.7447 MB / 1.031 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00143/1.126, allocations: 0.7487 MB / 1.031 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00245/1.128, allocations: 1.153 MB / 1.032 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/1.128, allocations: 0 / 1.032 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003189/1.131, allocations: 1.437 MB / 1.034 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/1.131, allocations: 31.95 kB / 1.034 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/1.131, allocations: 5.094 kB / 1.034 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/1.131, allocations: 13.72 kB / 1.034 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/1.133, allocations: 302.1 kB / 1.034 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.133, allocations: 13.69 kB / 1.034 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.134, allocations: 169.8 kB / 1.034 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.761e-05/1.134, allocations: 52.62 kB / 1.034 GB, free: 8.102 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.0003403/1.135, allocations: 248.1 kB / 1.035 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/1.135, allocations: 154.7 kB / 1.035 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/1.138, allocations: 1.302 MB / 1.036 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/1.138, allocations: 2.531 kB / 1.036 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.138, allocations: 4.688 kB / 1.036 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006063/1.139, allocations: 360.1 kB / 1.036 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/1.139, allocations: 20.77 kB / 1.036 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/1.14, allocations: 110.9 kB / 1.037 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.14, allocations: 59.72 kB / 1.037 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003506/1.144, allocations: 1.292 MB / 1.038 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004208/1.148, allocations: 1.979 MB / 1.04 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001217/1.149, allocations: 0.5333 MB / 1.04 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001151/1.15, allocations: 0.8949 MB / 1.041 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of Backend: time 4.11e-07/1.15, allocations: 0 / 1.041 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006085/1.156, allocations: 2.295 MB / 1.043 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of SimCode: time 0.005026/1.161, allocations: 3.16 MB / 1.047 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of Templates: time 0.06025/1.222, allocations: 40.52 MB / 1.086 GB, free: 7.832 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)