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.001569/0.001569, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001493/0.001494, allocations: 190.3 kB / 17.2 MB, free: 5.953 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 / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8083/0.8083, allocations: 135.2 MB / 426.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 72.02 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3526, allocations: 80.92 MB / 0.5851 GB, free: 25.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5571/0.9097, allocations: 211.1 MB / 0.7912 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.9253, allocations: 10.61 MB / 0.8015 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.9286, allocations: 56.47 kB / 0.8016 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.9314, allocations: 0.8376 MB / 0.8024 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007454/0.9389, allocations: 2.462 MB / 0.8048 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006197/0.9451, allocations: 2.261 MB / 0.807 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005646/0.9507, allocations: 3.687 MB / 0.8106 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.9535, allocations: 1.335 MB / 0.8119 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.9587, allocations: 1.943 MB / 0.8138 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.9614, allocations: 1.147 MB / 0.815 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007405/0.9621, allocations: 152.1 kB / 0.8151 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006222/0.9683, allocations: 3.026 MB / 0.8181 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.9694, allocations: 466.2 kB / 0.8185 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.9715, allocations: 0.9 MB / 0.8194 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007301/0.9788, allocations: 3.307 MB / 0.8226 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.9788, allocations: 0 / 0.8226 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9788, allocations: 0 / 0.8226 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.906e-05/0.979, allocations: 2.875 kB / 0.8226 GB, free: 15.89 MB / 0.5919 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.007058/0.986, allocations: 2.352 MB / 0.8249 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.9861, allocations: 11.27 kB / 0.8249 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/0.9893, allocations: 0.5448 MB / 0.8254 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.9926, allocations: 1.243 MB / 0.8267 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006694/0.9933, allocations: 199.3 kB / 0.8269 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003796/0.9937, allocations: 117.6 kB / 0.827 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/0.9972, allocations: 1.327 MB / 0.8283 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.9973, allocations: 5.312 kB / 0.8283 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.9974, allocations: 52.64 kB / 0.8283 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.9975, allocations: 46.41 kB / 0.8284 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003516/1.001, allocations: 1.356 MB / 0.8297 GB, free: 11.96 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.01053/1.012, allocations: 5.306 MB / 0.8349 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/1.014, allocations: 1.03 MB / 0.8359 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/1.016, allocations: 0.5399 MB / 0.8364 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/1.017, allocations: 0.7521 MB / 0.8371 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/1.018, allocations: 0.6191 MB / 0.8377 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.487e-06/1.018, allocations: 0 / 0.8377 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.004637/1.023, allocations: 1.595 MB / 0.8393 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/1.023, allocations: 65.5 kB / 0.8394 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/1.026, allocations: 1.327 MB / 0.8407 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/1.026, allocations: 49.7 kB / 0.8407 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007367/1.027, allocations: 0.6441 MB / 0.8413 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/1.027, allocations: 281.6 kB / 0.8416 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005702/1.027, allocations: 242.6 kB / 0.8418 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.028, allocations: 345.9 kB / 0.8422 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/1.029, allocations: 0.5134 MB / 0.8427 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/1.031, allocations: 0.7807 MB / 0.8434 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/1.034, allocations: 1.194 MB / 0.8446 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.034, allocations: 0 / 0.8446 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003981/1.038, allocations: 1.486 MB / 0.846 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/1.038, allocations: 37.69 kB / 0.8461 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.038, allocations: 8 kB / 0.8461 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/1.038, allocations: 8 kB / 0.8461 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/1.04, allocations: 347.9 kB / 0.8464 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008947/1.041, allocations: 1.193 MB / 0.8476 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/1.043, allocations: 194.9 kB / 0.8478 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/1.043, allocations: 51.97 kB / 0.8478 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002114/1.045, allocations: 0.7601 MB / 0.8486 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001734/1.047, allocations: 0.7762 MB / 0.8493 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002904/1.05, allocations: 1.191 MB / 0.8505 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.249e-06/1.05, allocations: 0 / 0.8505 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.00409/1.054, allocations: 1.474 MB / 0.8519 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/1.054, allocations: 37.7 kB / 0.852 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.054, allocations: 7.984 kB / 0.852 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/1.054, allocations: 19.88 kB / 0.852 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.056, allocations: 315.2 kB / 0.8523 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/1.056, allocations: 14.52 kB / 0.8523 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/1.057, allocations: 175.1 kB / 0.8525 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/1.058, allocations: 47.98 kB / 0.8525 GB, free: 7.297 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.0004156/1.058, allocations: 251.7 kB / 0.8528 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006405/1.059, allocations: 154.1 kB / 0.8529 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/1.062, allocations: 1.323 MB / 0.8542 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/1.062, allocations: 12 kB / 0.8542 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.062, allocations: 0 / 0.8542 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.062, allocations: 3.984 kB / 0.8542 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/1.069, allocations: 2.865 MB / 0.857 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.069, allocations: 8.031 kB / 0.857 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.07, allocations: 230 kB / 0.8572 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/1.07, allocations: 8 kB / 0.8572 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/1.07, allocations: 35.91 kB / 0.8573 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007519/1.071, allocations: 1.189 MB / 0.8584 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/1.071, allocations: 7.984 kB / 0.8584 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005014/1.076, allocations: 2.063 MB / 0.8605 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008842/1.077, allocations: 366.8 kB / 0.8608 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004103/1.078, allocations: 23.98 kB / 0.8608 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/1.079, allocations: 95.91 kB / 0.8609 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/1.079, allocations: 67.05 kB / 0.861 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.079, allocations: 43.97 kB / 0.861 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001857/1.081, allocations: 0.8923 MB / 0.8619 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/1.081, allocations: 0 / 0.8619 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002815/1.084, allocations: 0.7879 MB / 0.8627 GB, free: 12.74 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.001442/1.085, allocations: 475.5 kB / 0.8631 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006273/1.092, allocations: 2.154 MB / 0.8652 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.092, allocations: 0 / 0.8652 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/1.093, allocations: 0.6252 MB / 0.8658 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003973/1.097, allocations: 0.6866 MB / 0.8665 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/1.104, allocations: 2.779 MB / 0.8692 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/1.105, allocations: 1.223 MB / 0.8704 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007006/1.106, allocations: 143.3 kB / 0.8706 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of SimCode: time 1.443e-06/1.106, allocations: 0 / 0.8706 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of Templates: time 0.05757/1.164, allocations: 37.79 MB / 0.9075 GB, free: 15.07 MB / 0.67 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)