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.001332/0.001332, allocations: 105.7 kB / 16.41 MB, free: 6.496 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.001097/0.001097, allocations: 191 kB / 17.34 MB, free: 5.758 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8259/0.8259, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001566, allocations: 60.12 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1616, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6209/0.7825, allocations: 211.1 MB / 0.8665 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.7992, allocations: 10.61 MB / 0.8768 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.8022, allocations: 63.62 kB / 0.8769 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.8048, allocations: 0.8304 MB / 0.8777 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007479/0.8123, allocations: 2.461 MB / 0.8801 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006671/0.819, allocations: 2.283 MB / 0.8823 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006308/0.8254, allocations: 3.69 MB / 0.8859 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00283/0.8282, allocations: 1.344 MB / 0.8872 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005327/0.8336, allocations: 1.978 MB / 0.8892 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.836, allocations: 1.148 MB / 0.8903 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006394/0.8366, allocations: 152 kB / 0.8904 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0069/0.8436, allocations: 3.072 MB / 0.8934 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.8446, allocations: 470.3 kB / 0.8939 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.8468, allocations: 0.9017 MB / 0.8948 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008165/0.855, allocations: 3.354 MB / 0.898 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/0.8551, allocations: 4 kB / 0.898 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8551, allocations: 0 / 0.898 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001053/0.8552, allocations: 0 / 0.898 GB, free: 2.34 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.007229/0.8625, allocations: 2.349 MB / 0.9003 GB, free: 15.93 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.8625, allocations: 8.031 kB / 0.9003 GB, free: 15.92 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.8658, allocations: 0.5363 MB / 0.9009 GB, free: 15.38 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.8695, allocations: 1.314 MB / 0.9022 GB, free: 14.02 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.8696, allocations: 82 kB / 0.9022 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004045/0.87, allocations: 112 kB / 0.9023 GB, free: 13.83 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.8733, allocations: 1.326 MB / 0.9036 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.8734, allocations: 0 / 0.9036 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.8735, allocations: 36 kB / 0.9037 GB, free: 12.43 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/0.8736, allocations: 49.98 kB / 0.9037 GB, free: 12.39 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/0.877, allocations: 1.331 MB / 0.905 GB, free: 11.05 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.0103/0.8873, allocations: 5.271 MB / 0.9102 GB, free: 5.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.8899, allocations: 1.008 MB / 0.9111 GB, free: 4.449 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.8912, allocations: 0.5453 MB / 0.9117 GB, free: 3.902 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.8923, allocations: 0.7552 MB / 0.9124 GB, free: 3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001534/0.8938, allocations: 0.6015 MB / 0.913 GB, free: 2.383 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.808e-06/0.8939, allocations: 0 / 0.913 GB, free: 2.383 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.004535/0.8984, allocations: 1.57 MB / 0.9145 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.8985, allocations: 64 kB / 0.9146 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.901, allocations: 1.329 MB / 0.9159 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.9012, allocations: 45.7 kB / 0.9159 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007011/0.902, allocations: 0.6465 MB / 0.9166 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.9023, allocations: 279.9 kB / 0.9168 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005202/0.9028, allocations: 246.7 kB / 0.9171 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.903, allocations: 341.9 kB / 0.9174 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.9044, allocations: 0.5056 MB / 0.9179 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.906, allocations: 0.7751 MB / 0.9187 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.9088, allocations: 1.175 MB / 0.9198 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.9088, allocations: 0 / 0.9198 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003869/0.9127, allocations: 1.474 MB / 0.9212 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.9128, allocations: 29.7 kB / 0.9213 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.9128, allocations: 9.719 kB / 0.9213 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.9128, allocations: 11.94 kB / 0.9213 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.9146, allocations: 335.6 kB / 0.9216 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007636/0.9154, allocations: 1.195 MB / 0.9228 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.9171, allocations: 192.3 kB / 0.923 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.9173, allocations: 51.97 kB / 0.923 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001866/0.9191, allocations: 0.7532 MB / 0.9237 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001592/0.9207, allocations: 0.7776 MB / 0.9245 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002688/0.9234, allocations: 1.159 MB / 0.9256 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.201e-06/0.9235, allocations: 0 / 0.9256 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.003776/0.9273, allocations: 1.45 MB / 0.927 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.9273, allocations: 43.72 kB / 0.9271 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.9274, allocations: 8 kB / 0.9271 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.9274, allocations: 8 kB / 0.9271 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.9288, allocations: 307.5 kB / 0.9274 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/0.9288, allocations: 12 kB / 0.9274 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.9306, allocations: 167.1 kB / 0.9276 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.9308, allocations: 55.98 kB / 0.9276 GB, free: 2.922 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.0004047/0.9312, allocations: 247.9 kB / 0.9279 GB, free: 2.672 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005265/0.9317, allocations: 162 kB / 0.928 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.9352, allocations: 1.303 MB / 0.9293 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.9352, allocations: 12.08 kB / 0.9293 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.9352, allocations: 7.984 kB / 0.9293 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.9352, allocations: 11.92 kB / 0.9293 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006033/0.9413, allocations: 2.839 MB / 0.9321 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.9413, allocations: 4 kB / 0.9321 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.9425, allocations: 224.1 kB / 0.9323 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.071e-05/0.9426, allocations: 8 kB / 0.9323 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-05/0.9427, allocations: 31.98 kB / 0.9323 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006318/0.9433, allocations: 1.184 MB / 0.9335 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.9433, allocations: 4 kB / 0.9335 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004714/0.948, allocations: 2.046 MB / 0.9355 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008893/0.949, allocations: 358.8 kB / 0.9358 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/0.9494, allocations: 24 kB / 0.9359 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.9507, allocations: 91.91 kB / 0.936 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.9509, allocations: 72.5 kB / 0.936 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.951, allocations: 39.97 kB / 0.9361 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001599/0.9526, allocations: 0.886 MB / 0.9369 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9526, allocations: 4 kB / 0.9369 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002695/0.9553, allocations: 0.784 MB / 0.9377 GB, free: 8.355 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.001403/0.9567, allocations: 478.6 kB / 0.9382 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005544/0.9623, allocations: 2.05 MB / 0.9402 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.9623, allocations: 0.875 kB / 0.9402 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.964, allocations: 0.6212 MB / 0.9408 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/0.9677, allocations: 0.6815 MB / 0.9414 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005927/0.9737, allocations: 2.741 MB / 0.9441 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000978/0.9747, allocations: 1.223 MB / 0.9453 GB, free: 472 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/0.9754, allocations: 135.4 kB / 0.9454 GB, free: 340 kB / 0.7012 GB Notification: Performance of SimCode: time 3.136e-06/0.9754, allocations: 0 / 0.9454 GB, free: 340 kB / 0.7012 GB Notification: Performance of Templates: time 0.05018/1.026, allocations: 38.14 MB / 0.9827 GB, free: 10.34 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)