Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001562/0.001563, allocations: 104.3 kB / 16.41 MB, free: 6.449 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.001749/0.001749, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7959/0.7959, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 62.91 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1526, allocations: 80.22 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5835/0.7362, allocations: 211.1 MB / 0.8664 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.7526, allocations: 10.62 MB / 0.8768 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.7551, allocations: 59.62 kB / 0.8769 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003106/0.7583, allocations: 0.8382 MB / 0.8777 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007066/0.7654, allocations: 2.457 MB / 0.8801 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006073/0.7714, allocations: 2.277 MB / 0.8823 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005285/0.7767, allocations: 3.696 MB / 0.8859 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.779, allocations: 1.341 MB / 0.8872 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004722/0.7837, allocations: 1.985 MB / 0.8892 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.7861, allocations: 1.155 MB / 0.8903 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005533/0.7867, allocations: 152 kB / 0.8904 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005762/0.7925, allocations: 3.072 MB / 0.8934 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006725/0.7932, allocations: 466.3 kB / 0.8939 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.7948, allocations: 0.9095 MB / 0.8948 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006418/0.8012, allocations: 3.346 MB / 0.898 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8012, allocations: 0 / 0.898 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8012, allocations: 0 / 0.898 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.207e-05/0.8013, allocations: 0 / 0.898 GB, free: 2.316 MB / 0.6544 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.005778/0.8071, allocations: 2.349 MB / 0.9003 GB, free: 15.9 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.8072, allocations: 8.031 kB / 0.9003 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003076/0.8102, allocations: 0.5402 MB / 0.9009 GB, free: 15.36 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/0.8129, allocations: 1.308 MB / 0.9022 GB, free: 13.99 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/0.8131, allocations: 86 kB / 0.9022 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.8133, allocations: 116 kB / 0.9023 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.8161, allocations: 1.314 MB / 0.9036 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.8162, allocations: 0 / 0.9036 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.8163, allocations: 48 kB / 0.9037 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/0.8164, allocations: 38 kB / 0.9037 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.8197, allocations: 1.339 MB / 0.905 GB, free: 11.02 MB / 0.67 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.008841/0.8286, allocations: 5.271 MB / 0.9102 GB, free: 5.453 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.8311, allocations: 1 MB / 0.9111 GB, free: 4.43 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.8324, allocations: 0.5531 MB / 0.9117 GB, free: 3.875 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.8334, allocations: 0.7474 MB / 0.9124 GB, free: 2.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/0.835, allocations: 0.6093 MB / 0.913 GB, free: 2.355 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.256e-06/0.835, allocations: 4 kB / 0.913 GB, free: 2.352 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.00444/0.8395, allocations: 1.566 MB / 0.9145 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.8395, allocations: 64.06 kB / 0.9146 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.8413, allocations: 1.317 MB / 0.9159 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.8415, allocations: 53.69 kB / 0.9159 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.842, allocations: 0.6387 MB / 0.9166 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.8423, allocations: 283.8 kB / 0.9168 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/0.8427, allocations: 242.7 kB / 0.9171 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8428, allocations: 349.9 kB / 0.9174 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.8442, allocations: 0.5095 MB / 0.9179 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.8458, allocations: 0.7738 MB / 0.9187 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/0.8486, allocations: 1.175 MB / 0.9198 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.8486, allocations: 0 / 0.9198 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003658/0.8523, allocations: 1.47 MB / 0.9212 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.8523, allocations: 33.7 kB / 0.9213 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8523, allocations: 4 kB / 0.9213 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.8524, allocations: 20.12 kB / 0.9213 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.8541, allocations: 341 kB / 0.9216 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007121/0.8549, allocations: 1.192 MB / 0.9228 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.8564, allocations: 194.6 kB / 0.923 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.8566, allocations: 51.97 kB / 0.923 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00175/0.8583, allocations: 0.7532 MB / 0.9237 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001567/0.8599, allocations: 0.7711 MB / 0.9245 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002652/0.8626, allocations: 1.159 MB / 0.9256 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.009e-06/0.8626, allocations: 0 / 0.9256 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.003523/0.8661, allocations: 1.454 MB / 0.9271 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.8662, allocations: 37.7 kB / 0.9271 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.8662, allocations: 4 kB / 0.9271 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8662, allocations: 16.17 kB / 0.9271 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.8677, allocations: 307.5 kB / 0.9274 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/0.8677, allocations: 15.97 kB / 0.9274 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.8693, allocations: 169.5 kB / 0.9276 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.8694, allocations: 47.98 kB / 0.9276 GB, free: 2.895 MB / 0.6856 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 (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 (133): * Single equations (assignments): 130 * 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.0003415/0.8697, allocations: 261.8 kB / 0.9279 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.8701, allocations: 158 kB / 0.928 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/0.8735, allocations: 1.296 MB / 0.9293 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.8735, allocations: 12 kB / 0.9293 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8735, allocations: 0 / 0.9293 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.8736, allocations: 11.91 kB / 0.9293 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/0.8791, allocations: 2.831 MB / 0.9321 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.8792, allocations: 7.938 kB / 0.9321 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.8804, allocations: 228 kB / 0.9323 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/0.8804, allocations: 8 kB / 0.9323 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.8805, allocations: 27.98 kB / 0.9323 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005847/0.8811, allocations: 1.192 MB / 0.9335 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.8811, allocations: 4 kB / 0.9335 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004538/0.8857, allocations: 2.042 MB / 0.9355 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/0.8864, allocations: 362.8 kB / 0.9358 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/0.8867, allocations: 27.94 kB / 0.9359 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.888, allocations: 87.91 kB / 0.936 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.8882, allocations: 76.5 kB / 0.936 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.503e-05/0.8883, allocations: 39.97 kB / 0.9361 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001466/0.8897, allocations: 0.8899 MB / 0.9369 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8898, allocations: 0 / 0.9369 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002174/0.8919, allocations: 0.784 MB / 0.9377 GB, free: 8.324 MB / 0.7012 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: 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 (91): * Single equations (assignments): 85 * 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.001202/0.8931, allocations: 479.1 kB / 0.9382 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0055/0.8987, allocations: 2.046 MB / 0.9402 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.8987, allocations: 0 / 0.9402 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.9003, allocations: 0.6182 MB / 0.9408 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/0.9036, allocations: 0.6742 MB / 0.9414 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/0.909, allocations: 2.746 MB / 0.9441 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/0.9098, allocations: 1.223 MB / 0.9453 GB, free: 448 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.9104, allocations: 135.4 kB / 0.9454 GB, free: 316 kB / 0.7012 GB Notification: Performance of SimCode: time 8.31e-07/0.9104, allocations: 0 / 0.9454 GB, free: 316 kB / 0.7012 GB Notification: Performance of Templates: time 0.04569/0.9561, allocations: 37.94 MB / 0.9825 GB, free: 10.52 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)