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.001924/0.001924, allocations: 108 kB / 15.61 MB, free: 152 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.001262/0.001262, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 60.97 kB / 0.5053 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2051, allocations: 80.92 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6025/0.8077, allocations: 239.9 MB / 0.8186 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.8211, allocations: 7.196 MB / 0.8256 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/0.8234, allocations: 51.69 kB / 0.8257 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.8257, allocations: 0.7026 MB / 0.8264 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006273/0.832, allocations: 2.064 MB / 0.8284 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.8374, allocations: 2.017 MB / 0.8303 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004638/0.8421, allocations: 3.265 MB / 0.8335 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.8437, allocations: 1.143 MB / 0.8346 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004631/0.8484, allocations: 1.786 MB / 0.8364 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.8505, allocations: 0.9688 MB / 0.8373 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.8507, allocations: 120 kB / 0.8374 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004896/0.8557, allocations: 2.49 MB / 0.8399 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005297/0.8562, allocations: 458.7 kB / 0.8403 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.8575, allocations: 0.7194 MB / 0.841 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005143/0.8626, allocations: 2.672 MB / 0.8436 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.8627, allocations: 0 / 0.8436 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8627, allocations: 0 / 0.8436 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.629e-05/0.8627, allocations: 0 / 0.8436 GB, free: 3.344 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.00372/0.8665, allocations: 1.707 MB / 0.8453 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.8665, allocations: 8.031 kB / 0.8453 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/0.8695, allocations: 418 kB / 0.8457 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.8717, allocations: 0.9716 MB / 0.8467 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-05/0.8718, allocations: 62 kB / 0.8467 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.872, allocations: 87.94 kB / 0.8468 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.874, allocations: 0.8624 MB / 0.8476 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.874, allocations: 4 kB / 0.8476 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/0.8741, allocations: 32 kB / 0.8477 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.8742, allocations: 30 kB / 0.8477 GB, free: 15.07 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.8759, allocations: 0.8003 MB / 0.8485 GB, free: 14.27 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.006237/0.8821, allocations: 3.67 MB / 0.8521 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.884, allocations: 1.096 MB / 0.8531 GB, free: 9.098 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.8847, allocations: 367.2 kB / 0.8535 GB, free: 8.738 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008767/0.8856, allocations: 412.9 kB / 0.8539 GB, free: 8.262 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.8857, allocations: 39.12 kB / 0.8539 GB, free: 8.215 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 4.709e-06/0.8857, allocations: 0 / 0.8539 GB, free: 8.215 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002782/0.8885, allocations: 0.9622 MB / 0.8549 GB, free: 7.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.8886, allocations: 55.97 kB / 0.8549 GB, free: 7.184 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.8902, allocations: 0.8361 MB / 0.8557 GB, free: 6.324 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.8903, allocations: 41.64 kB / 0.8558 GB, free: 6.277 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.8908, allocations: 488.1 kB / 0.8562 GB, free: 5.793 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.8911, allocations: 212.9 kB / 0.8564 GB, free: 5.582 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.8913, allocations: 118.1 kB / 0.8565 GB, free: 5.461 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8915, allocations: 330 kB / 0.8569 GB, free: 5.133 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.892, allocations: 251 kB / 0.8571 GB, free: 4.883 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.8926, allocations: 376.8 kB / 0.8575 GB, free: 4.48 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.8938, allocations: 0.5891 MB / 0.858 GB, free: 3.879 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.8938, allocations: 3.938 kB / 0.858 GB, free: 3.875 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001598/0.8954, allocations: 0.7359 MB / 0.8588 GB, free: 3.129 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.8954, allocations: 4 kB / 0.8588 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.8955, allocations: 0 / 0.8588 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.075e-05/0.8955, allocations: 4 kB / 0.8588 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/0.8964, allocations: 127.9 kB / 0.8589 GB, free: 2.996 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/0.8965, allocations: 3.938 kB / 0.8589 GB, free: 2.992 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.8976, allocations: 71.61 kB / 0.859 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/0.8977, allocations: 24 kB / 0.859 GB, free: 2.898 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009475/0.8986, allocations: 493 kB / 0.8595 GB, free: 2.414 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000691/0.8993, allocations: 368.3 kB / 0.8598 GB, free: 2.016 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001137/0.9005, allocations: 0.5852 MB / 0.8604 GB, free: 1.418 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.267e-06/0.9005, allocations: 0 / 0.8604 GB, free: 1.418 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001559/0.9021, allocations: 0.7204 MB / 0.8611 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9021, allocations: 12 kB / 0.8611 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9021, allocations: 0 / 0.8611 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.9021, allocations: 4 kB / 0.8611 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.9027, allocations: 123.8 kB / 0.8612 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.9028, allocations: 4 kB / 0.8612 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009179/0.9037, allocations: 66.77 kB / 0.8613 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.9037, allocations: 20 kB / 0.8613 GB, free: 476 kB / 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.0003306/0.9041, allocations: 220 kB / 0.8615 GB, free: 248 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.9044, allocations: 106.8 kB / 0.8616 GB, free: 140 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3058/1.21, allocations: 0.7292 MB / 0.8623 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/1.21, allocations: 5.5 kB / 0.8623 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.21, allocations: 2.125 kB / 0.8623 GB, free: 224.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009831/1.211, allocations: 0.9007 MB / 0.8632 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/1.215, allocations: 2.241 MB / 0.8654 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.215, allocations: 6.5 kB / 0.8654 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/1.215, allocations: 141.5 kB / 0.8655 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/1.215, allocations: 8.094 kB / 0.8655 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/1.215, allocations: 14.72 kB / 0.8656 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/1.215, allocations: 9.109 kB / 0.8656 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.215, allocations: 10.34 kB / 0.8656 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/1.217, allocations: 1.257 MB / 0.8668 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/1.217, allocations: 263 kB / 0.8671 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.217, allocations: 14.5 kB / 0.8671 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/1.218, allocations: 44.8 kB / 0.8671 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.218, allocations: 51.73 kB / 0.8672 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/1.218, allocations: 20.25 kB / 0.8672 GB, free: 222 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006243/1.219, allocations: 0.5857 MB / 0.8678 GB, free: 221.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.219, allocations: 3.375 kB / 0.8678 GB, free: 221.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001124/1.22, allocations: 0.5396 MB / 0.8683 GB, free: 221.7 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.0004734/1.22, allocations: 243.3 kB / 0.8685 GB, free: 221.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001691/1.222, allocations: 1.005 MB / 0.8695 GB, free: 221.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.222, allocations: 0 / 0.8695 GB, free: 221.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005012/1.223, allocations: 346.1 kB / 0.8698 GB, free: 221.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/1.225, allocations: 0.6025 MB / 0.8704 GB, free: 221.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/1.228, allocations: 2.154 MB / 0.8725 GB, free: 220 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/1.229, allocations: 1.127 MB / 0.8736 GB, free: 219.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001063/1.23, allocations: 293.7 kB / 0.8739 GB, free: 219.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/1.23, allocations: 75.72 kB / 0.874 GB, free: 219.2 MB / 0.67 GB Notification: Performance of SimCode: time 7.11e-07/1.23, allocations: 3.938 kB / 0.874 GB, free: 219.2 MB / 0.67 GB Notification: Performance of Templates: time 0.04111/1.271, allocations: 20.41 MB / 0.8939 GB, free: 217.9 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)