Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001373/0.001374, allocations: 192 kB / 17.31 MB, free: 5.18 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.809/0.809, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 55.91 kB / 0.5067 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3567, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6043/0.961, allocations: 239.9 MB / 0.82 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009604/0.9707, allocations: 7.219 MB / 0.827 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.9725, allocations: 52.69 kB / 0.8271 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.9741, allocations: 0.6996 MB / 0.8278 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005349/0.9796, allocations: 2.065 MB / 0.8298 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004804/0.9844, allocations: 2.036 MB / 0.8318 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004209/0.9886, allocations: 3.275 MB / 0.835 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.9899, allocations: 1.13 MB / 0.8361 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.9932, allocations: 1.801 MB / 0.8378 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.9946, allocations: 0.9618 MB / 0.8388 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.9948, allocations: 118.9 kB / 0.8389 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.9988, allocations: 2.491 MB / 0.8413 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003739/0.9991, allocations: 463.7 kB / 0.8418 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.9998, allocations: 0.7154 MB / 0.8425 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003287/1.003, allocations: 2.689 MB / 0.8451 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.003, allocations: 0 / 0.8451 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/1.003, allocations: 0 / 0.8451 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.604e-05/1.003, allocations: 0 / 0.8451 GB, free: 1.004 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002399/1.006, allocations: 1.718 MB / 0.8468 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/1.006, allocations: 8.484 kB / 0.8468 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/1.008, allocations: 414.5 kB / 0.8472 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/1.01, allocations: 1.021 MB / 0.8482 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/1.01, allocations: 65.19 kB / 0.8482 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.01, allocations: 95.84 kB / 0.8483 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/1.011, allocations: 0.863 MB / 0.8492 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.011, allocations: 0 / 0.8492 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/1.011, allocations: 36.84 kB / 0.8492 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/1.011, allocations: 29.62 kB / 0.8492 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/1.013, allocations: 0.8038 MB / 0.85 GB, free: 13.55 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.004596/1.017, allocations: 3.63 MB / 0.8536 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/1.019, allocations: 1.087 MB / 0.8546 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/1.019, allocations: 370.5 kB / 0.855 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/1.02, allocations: 418.4 kB / 0.8554 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/1.02, allocations: 39.12 kB / 0.8554 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.104e-06/1.02, allocations: 0 / 0.8554 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001929/1.022, allocations: 0.9647 MB / 0.8563 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/1.022, allocations: 59.97 kB / 0.8564 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000984/1.023, allocations: 0.8322 MB / 0.8572 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/1.023, allocations: 37.7 kB / 0.8573 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/1.023, allocations: 488.1 kB / 0.8577 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/1.024, allocations: 203.9 kB / 0.8579 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/1.024, allocations: 126.1 kB / 0.858 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.024, allocations: 326 kB / 0.8583 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/1.024, allocations: 251 kB / 0.8586 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/1.025, allocations: 374.8 kB / 0.8589 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000959/1.026, allocations: 0.5902 MB / 0.8595 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.026, allocations: 0 / 0.8595 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001229/1.027, allocations: 0.7293 MB / 0.8602 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.027, allocations: 8.125 kB / 0.8602 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.027, allocations: 7.938 kB / 0.8602 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.027, allocations: 4 kB / 0.8602 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/1.028, allocations: 127.5 kB / 0.8604 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.028, allocations: 4 kB / 0.8604 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/1.029, allocations: 71.48 kB / 0.8604 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/1.029, allocations: 26.61 kB / 0.8605 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007716/1.029, allocations: 0.4902 MB / 0.8609 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005155/1.03, allocations: 364.3 kB / 0.8613 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009129/1.031, allocations: 0.5785 MB / 0.8619 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/1.031, allocations: 4 kB / 0.8619 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001161/1.032, allocations: 0.724 MB / 0.8626 GB, free: 140 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/1.032, allocations: 4 kB / 0.8626 GB, free: 136 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/1.032, allocations: 4 kB / 0.8626 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.01e-06/1.032, allocations: 3.938 kB / 0.8626 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/1.033, allocations: 129.1 kB / 0.8627 GB, free: 4 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.033, allocations: 6.531 kB / 0.8627 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007132/1.033, allocations: 59.58 kB / 0.8628 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/1.033, allocations: 31.94 kB / 0.8628 GB, free: 15.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/1.034, allocations: 209.4 kB / 0.863 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.034, allocations: 98.78 kB / 0.8631 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/1.035, allocations: 0.7493 MB / 0.8638 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.035, allocations: 4 kB / 0.8638 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.035, allocations: 0 / 0.8638 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/1.036, allocations: 0.9098 MB / 0.8647 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/1.039, allocations: 2.244 MB / 0.8669 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.039, allocations: 0 / 0.8669 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/1.04, allocations: 137 kB / 0.867 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.04, allocations: 4 kB / 0.867 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/1.04, allocations: 19.94 kB / 0.8671 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/1.04, allocations: 10.53 kB / 0.8671 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.04, allocations: 4 kB / 0.8671 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/1.042, allocations: 1.255 MB / 0.8683 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/1.042, allocations: 263.7 kB / 0.8686 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/1.043, allocations: 19.94 kB / 0.8686 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/1.043, allocations: 51.27 kB / 0.8686 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/1.043, allocations: 38.83 kB / 0.8687 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/1.043, allocations: 27.98 kB / 0.8687 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007108/1.044, allocations: 0.5926 MB / 0.8693 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/1.044, allocations: 0 / 0.8693 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001246/1.045, allocations: 0.5378 MB / 0.8698 GB, free: 8.496 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004563/1.046, allocations: 249.3 kB / 0.87 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001595/1.047, allocations: 0.9385 MB / 0.8709 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.047, allocations: 6.688 kB / 0.8709 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005516/1.048, allocations: 344.1 kB / 0.8713 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/1.05, allocations: 0.6001 MB / 0.8719 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/1.053, allocations: 2.115 MB / 0.8739 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/1.054, allocations: 1.127 MB / 0.875 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008333/1.054, allocations: 296.1 kB / 0.8753 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/1.055, allocations: 83.42 kB / 0.8754 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of SimCode: time 1.343e-06/1.055, allocations: 0 / 0.8754 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of Templates: time 0.03096/1.086, allocations: 20.4 MB / 0.8953 GB, free: 14.73 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)