Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001383/0.001383, allocations: 103.1 kB / 15.98 MB, free: 6.352 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.001514/0.001514, allocations: 196.7 kB / 16.91 MB, free: 6.195 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.483/1.483, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.814/0.814, allocations: 135.1 MB / 425.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 0.5055 GB, free: 8.754 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4108, allocations: 80.91 MB / 0.5845 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5939/1.005, allocations: 208.4 MB / 0.788 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01697/1.022, allocations: 10.57 MB / 0.7983 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/1.025, allocations: 53.28 kB / 0.7984 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002701/1.028, allocations: 0.7138 MB / 0.7991 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007292/1.035, allocations: 2.283 MB / 0.8013 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005932/1.041, allocations: 2.081 MB / 0.8034 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00546/1.047, allocations: 3.7 MB / 0.807 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/1.049, allocations: 1.324 MB / 0.8083 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005162/1.054, allocations: 1.954 MB / 0.8102 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/1.057, allocations: 1.199 MB / 0.8113 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004457/1.057, allocations: 151.2 kB / 0.8115 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005847/1.063, allocations: 3.099 MB / 0.8145 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008672/1.064, allocations: 470.9 kB / 0.815 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/1.066, allocations: 0.9015 MB / 0.8158 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004675/1.07, allocations: 2.456 MB / 0.8182 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.07, allocations: 0.9688 kB / 0.8182 GB, free: 328 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/1.07, allocations: 0 / 0.8182 GB, free: 328 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.101e-05/1.07, allocations: 0.8125 kB / 0.8182 GB, free: 328 kB / 0.5762 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.006027/1.076, allocations: 2.352 MB / 0.8205 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.077, allocations: 10.67 kB / 0.8205 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/1.08, allocations: 0.5479 MB / 0.8211 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/1.082, allocations: 1.242 MB / 0.8223 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005943/1.083, allocations: 203.6 kB / 0.8225 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/1.083, allocations: 117.2 kB / 0.8226 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/1.086, allocations: 1.324 MB / 0.8239 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.086, allocations: 0 / 0.8239 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.086, allocations: 44.33 kB / 0.8239 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/1.086, allocations: 50.38 kB / 0.824 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/1.089, allocations: 1.354 MB / 0.8253 GB, free: 14.09 MB / 0.5919 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.009239/1.098, allocations: 5.279 MB / 0.8305 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/1.101, allocations: 1.032 MB / 0.8315 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/1.102, allocations: 0.5388 MB / 0.832 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/1.103, allocations: 0.7607 MB / 0.8327 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/1.105, allocations: 0.6131 MB / 0.8333 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.737e-06/1.105, allocations: 0 / 0.8333 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.004647/1.109, allocations: 1.603 MB / 0.8349 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/1.11, allocations: 61.53 kB / 0.835 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/1.112, allocations: 1.323 MB / 0.8363 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002353/1.112, allocations: 51.39 kB / 0.8363 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005777/1.113, allocations: 0.6358 MB / 0.8369 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/1.113, allocations: 287.8 kB / 0.8372 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004966/1.113, allocations: 243.8 kB / 0.8374 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.114, allocations: 346.2 kB / 0.8378 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.115, allocations: 0.509 MB / 0.8383 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/1.117, allocations: 0.7921 MB / 0.839 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002713/1.119, allocations: 1.189 MB / 0.8402 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.119, allocations: 0 / 0.8402 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003777/1.123, allocations: 1.486 MB / 0.8416 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/1.123, allocations: 41.69 kB / 0.8417 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.123, allocations: 4 kB / 0.8417 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/1.123, allocations: 8 kB / 0.8417 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/1.125, allocations: 343.2 kB / 0.842 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007568/1.126, allocations: 1.2 MB / 0.8432 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.128, allocations: 218.8 kB / 0.8434 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/1.128, allocations: 51.97 kB / 0.8434 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001845/1.13, allocations: 0.7601 MB / 0.8442 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001569/1.131, allocations: 0.785 MB / 0.845 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002603/1.134, allocations: 1.183 MB / 0.8461 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.031e-06/1.134, allocations: 4 kB / 0.8461 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.003695/1.138, allocations: 1.48 MB / 0.8476 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/1.138, allocations: 29.89 kB / 0.8476 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.138, allocations: 12 kB / 0.8476 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.138, allocations: 11.94 kB / 0.8476 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/1.139, allocations: 308.5 kB / 0.8479 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/1.139, allocations: 18.52 kB / 0.8479 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/1.141, allocations: 192.4 kB / 0.8481 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.141, allocations: 55.97 kB / 0.8482 GB, free: 10.49 MB / 0.6075 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.0003994/1.142, allocations: 242.9 kB / 0.8484 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/1.142, allocations: 154.1 kB / 0.8485 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/1.146, allocations: 1.333 MB / 0.8498 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.146, allocations: 11.98 kB / 0.8499 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.146, allocations: 0 / 0.8499 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.146, allocations: 11.92 kB / 0.8499 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005904/1.152, allocations: 2.853 MB / 0.8527 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/1.152, allocations: 4.469 kB / 0.8527 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.153, allocations: 236.2 kB / 0.8529 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/1.153, allocations: 4 kB / 0.8529 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.034e-05/1.153, allocations: 31.92 kB / 0.8529 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006018/1.154, allocations: 1.193 MB / 0.8541 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.154, allocations: 6.438 kB / 0.8541 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/1.158, allocations: 2.07 MB / 0.8561 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008673/1.159, allocations: 359 kB / 0.8564 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/1.16, allocations: 20 kB / 0.8565 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.161, allocations: 123.9 kB / 0.8566 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.161, allocations: 75.03 kB / 0.8567 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.776e-05/1.161, allocations: 35.97 kB / 0.8567 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001504/1.163, allocations: 0.8899 MB / 0.8576 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/1.163, allocations: 0 / 0.8576 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002608/1.166, allocations: 0.7879 MB / 0.8583 GB, free: 15.92 MB / 0.6231 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.001415/1.167, allocations: 476.7 kB / 0.8588 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005933/1.173, allocations: 2.155 MB / 0.8609 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.173, allocations: 4 kB / 0.8609 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/1.175, allocations: 0.6315 MB / 0.8615 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.178, allocations: 0.6823 MB / 0.8622 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/1.184, allocations: 3.294 MB / 0.8654 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009305/1.185, allocations: 1.235 MB / 0.8666 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000685/1.186, allocations: 135.4 kB / 0.8667 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/1.186, allocations: 0 / 0.8667 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of Templates: time 0.05142/1.238, allocations: 37.79 MB / 0.9036 GB, free: 1.727 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)