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.0008808/0.0008808, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 179.9 kB / 16.92 MB, free: 6.652 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.925/0.925, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 8 kB / 0.5082 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 82.31 MB / 0.5886 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.4834/0.6352, allocations: 234.5 MB / 0.8176 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.6458, allocations: 7.207 MB / 0.8247 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.6473, allocations: 43.69 kB / 0.8247 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.6488, allocations: 0.5711 MB / 0.8253 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004813/0.6537, allocations: 1.946 MB / 0.8272 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004609/0.6583, allocations: 1.873 MB / 0.829 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005233/0.6635, allocations: 4.441 MB / 0.8333 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.665, allocations: 0.9068 MB / 0.8342 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.6687, allocations: 1.568 MB / 0.8358 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.6707, allocations: 0.9557 MB / 0.8367 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.6709, allocations: 52 kB / 0.8367 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00479/0.6757, allocations: 2.829 MB / 0.8395 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005264/0.6762, allocations: 386.7 kB / 0.8399 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008534/0.6771, allocations: 0.6546 MB / 0.8405 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.6799, allocations: 1.945 MB / 0.8424 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6799, allocations: 0 / 0.8424 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6799, allocations: 0 / 0.8424 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.325e-05/0.68, allocations: 4 kB / 0.8424 GB, free: 8.238 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002426/0.6824, allocations: 1.474 MB / 0.8439 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.6824, allocations: 8.031 kB / 0.8439 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.6851, allocations: 433.9 kB / 0.8443 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.6868, allocations: 0.9639 MB / 0.8452 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.6868, allocations: 62 kB / 0.8453 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.687, allocations: 84 kB / 0.8454 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.6886, allocations: 0.8741 MB / 0.8462 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.6887, allocations: 0 / 0.8462 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-05/0.6888, allocations: 32 kB / 0.8462 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.6888, allocations: 26 kB / 0.8463 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.6903, allocations: 0.8315 MB / 0.8471 GB, free: 3.359 MB / 0.6544 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.005009/0.6954, allocations: 3.635 MB / 0.8506 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.6968, allocations: 1.116 MB / 0.8517 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/0.6974, allocations: 383.1 kB / 0.8521 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007041/0.6981, allocations: 420.8 kB / 0.8525 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.6982, allocations: 43.12 kB / 0.8525 GB, free: 13.29 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.274e-06/0.6982, allocations: 0 / 0.8525 GB, free: 13.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002201/0.7004, allocations: 0.9857 MB / 0.8535 GB, free: 12.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.7005, allocations: 63.97 kB / 0.8536 GB, free: 12.23 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.7016, allocations: 0.836 MB / 0.8544 GB, free: 11.37 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.7016, allocations: 45.7 kB / 0.8544 GB, free: 11.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.702, allocations: 476.1 kB / 0.8549 GB, free: 10.84 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.7022, allocations: 212.9 kB / 0.8551 GB, free: 10.63 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.7023, allocations: 53.7 kB / 0.8551 GB, free: 10.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7024, allocations: 326 kB / 0.8554 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.7029, allocations: 265 kB / 0.8557 GB, free: 9.992 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.7035, allocations: 376.3 kB / 0.856 GB, free: 9.586 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.7046, allocations: 0.6126 MB / 0.8566 GB, free: 8.961 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.7046, allocations: 3.938 kB / 0.8566 GB, free: 8.957 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001396/0.706, allocations: 0.7555 MB / 0.8574 GB, free: 8.191 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.181e-05/0.7061, allocations: 122.8 kB / 0.8575 GB, free: 8.055 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.7061, allocations: 4 kB / 0.8575 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7061, allocations: 0 / 0.8575 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.7067, allocations: 131.8 kB / 0.8576 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7067, allocations: 4 kB / 0.8576 GB, free: 7.918 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009709/0.7077, allocations: 127.3 kB / 0.8578 GB, free: 7.793 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.7078, allocations: 23.98 kB / 0.8578 GB, free: 7.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.7078, allocations: 7.938 kB / 0.8578 GB, free: 7.762 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001152/0.7089, allocations: 0.6301 MB / 0.8584 GB, free: 7.129 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.709, allocations: 4.031 kB / 0.8584 GB, free: 7.125 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/0.709, allocations: 4 kB / 0.8584 GB, free: 7.121 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.7095, allocations: 131.8 kB / 0.8585 GB, free: 6.992 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.7095, allocations: 4 kB / 0.8585 GB, free: 6.988 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/0.7104, allocations: 122.4 kB / 0.8587 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.7105, allocations: 23.94 kB / 0.8587 GB, free: 6.848 MB / 0.67 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.0005209/0.711, allocations: 380.9 kB / 0.859 GB, free: 6.465 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.7112, allocations: 106.7 kB / 0.8591 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.7127, allocations: 0.7704 MB / 0.8599 GB, free: 5.582 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.7127, allocations: 8 kB / 0.8599 GB, free: 5.574 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7127, allocations: 0 / 0.8599 GB, free: 5.574 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/0.7139, allocations: 0.919 MB / 0.8608 GB, free: 4.574 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.7175, allocations: 2.267 MB / 0.863 GB, free: 2.172 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.7175, allocations: 8.344 kB / 0.863 GB, free: 2.164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/0.7182, allocations: 143.8 kB / 0.8632 GB, free: 2.023 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.7182, allocations: 11.98 kB / 0.8632 GB, free: 2.012 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.7182, allocations: 16 kB / 0.8632 GB, free: 1.996 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/0.7183, allocations: 4 kB / 0.8632 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7183, allocations: 7.938 kB / 0.8632 GB, free: 1.984 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.7202, allocations: 1.292 MB / 0.8645 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.7206, allocations: 263.7 kB / 0.8647 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.7207, allocations: 19.98 kB / 0.8647 GB, free: 348 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/0.7215, allocations: 99.75 kB / 0.8648 GB, free: 248 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.7217, allocations: 56.25 kB / 0.8649 GB, free: 192 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.7217, allocations: 20 kB / 0.8649 GB, free: 172 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.2465/0.9682, allocations: 0.5814 MB / 0.8655 GB, free: 219.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9682, allocations: 0 / 0.8655 GB, free: 219.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001404/0.9696, allocations: 0.5371 MB / 0.866 GB, free: 219.5 MB / 0.67 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.0004432/0.9701, allocations: 236 kB / 0.8662 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.9717, allocations: 0.9679 MB / 0.8672 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9717, allocations: 1.969 kB / 0.8672 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.9722, allocations: 353.4 kB / 0.8675 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/0.9754, allocations: 0.6294 MB / 0.8681 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.9782, allocations: 2.712 MB / 0.8708 GB, free: 218.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.9787, allocations: 1.12 MB / 0.8719 GB, free: 217.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.979, allocations: 85.19 kB / 0.8719 GB, free: 217.4 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.979, allocations: 0 / 0.8719 GB, free: 217.4 MB / 0.67 GB Notification: Performance of Templates: time 0.01996/0.999, allocations: 17.09 MB / 0.8886 GB, free: 216 MB / 0.67 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)