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.0009473/0.0009474, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009933/0.0009933, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8669/0.8669, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 8 kB / 0.5068 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 82.31 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.4843/0.6508, allocations: 196.6 MB / 0.7791 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.6616, allocations: 7.23 MB / 0.7862 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.663, allocations: 39.69 kB / 0.7862 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.665, allocations: 0.6727 MB / 0.7869 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.6703, allocations: 1.929 MB / 0.7888 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.6747, allocations: 1.615 MB / 0.7904 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003614/0.6783, allocations: 1.88 MB / 0.7922 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.6795, allocations: 0.8251 MB / 0.793 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003349/0.6828, allocations: 1.429 MB / 0.7944 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008443/0.6837, allocations: 0.603 MB / 0.795 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.6838, allocations: 52 kB / 0.795 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.6863, allocations: 1.069 MB / 0.7961 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003285/0.6866, allocations: 343 kB / 0.7964 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.687, allocations: 293 kB / 0.7967 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.6888, allocations: 1.609 MB / 0.7983 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.6888, allocations: 0 / 0.7983 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6888, allocations: 0 / 0.7983 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.6888, allocations: 0 / 0.7983 GB, free: 4.316 MB / 0.6075 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.002374/0.6912, allocations: 1.439 MB / 0.7997 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6912, allocations: 8.031 kB / 0.7997 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/0.6937, allocations: 441.8 kB / 0.8001 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.6952, allocations: 0.9296 MB / 0.801 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.6953, allocations: 58 kB / 0.8011 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.6954, allocations: 84 kB / 0.8011 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.6969, allocations: 0.8546 MB / 0.802 GB, free: 420 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6969, allocations: 0 / 0.802 GB, free: 420 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/0.697, allocations: 40 kB / 0.802 GB, free: 380 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.697, allocations: 33.98 kB / 0.802 GB, free: 348 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.6984, allocations: 0.8159 MB / 0.8028 GB, free: 15.52 MB / 0.6231 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.00434/0.7027, allocations: 3.639 MB / 0.8064 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.7041, allocations: 1.125 MB / 0.8075 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/0.7045, allocations: 149.5 kB / 0.8076 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.7046, allocations: 43.12 kB / 0.8077 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 2.124e-06/0.7046, allocations: 0 / 0.8077 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001947/0.7065, allocations: 0.9858 MB / 0.8086 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.7066, allocations: 55.97 kB / 0.8087 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009386/0.7075, allocations: 0.8243 MB / 0.8095 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.7076, allocations: 41.7 kB / 0.8095 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.7079, allocations: 488 kB / 0.81 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.7081, allocations: 216.8 kB / 0.8102 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.7081, allocations: 20 kB / 0.8102 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7083, allocations: 326 kB / 0.8105 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.7087, allocations: 253 kB / 0.8108 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.7092, allocations: 372.3 kB / 0.8111 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.7098, allocations: 302 kB / 0.8114 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7098, allocations: 4 kB / 0.8114 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00127/0.7111, allocations: 0.7361 MB / 0.8121 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.7112, allocations: 453.6 kB / 0.8126 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.7113, allocations: 3.938 kB / 0.8126 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.7113, allocations: 4 kB / 0.8126 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005478/0.7118, allocations: 131.9 kB / 0.8127 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.7118, allocations: 7.938 kB / 0.8127 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/0.7127, allocations: 127.3 kB / 0.8128 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.7128, allocations: 27.94 kB / 0.8129 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.7128, allocations: 4 kB / 0.8129 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00103/0.7138, allocations: 0.6183 MB / 0.8135 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7138, allocations: 4 kB / 0.8135 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-06/0.7138, allocations: 4 kB / 0.8135 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.7144, allocations: 131.8 kB / 0.8136 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.7144, allocations: 4 kB / 0.8136 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.7151, allocations: 123.5 kB / 0.8137 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.7152, allocations: 27.11 kB / 0.8138 GB, free: 3.781 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004353/0.7156, allocations: 386.9 kB / 0.8141 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.7157, allocations: 102.8 kB / 0.8142 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.717, allocations: 0.7626 MB / 0.815 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.717, allocations: 4 kB / 0.815 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.717, allocations: 4 kB / 0.815 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/0.7181, allocations: 0.9228 MB / 0.8159 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.7212, allocations: 2.259 MB / 0.8181 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.7213, allocations: 4 kB / 0.8181 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.7219, allocations: 139.8 kB / 0.8182 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.7219, allocations: 11.95 kB / 0.8182 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.7219, allocations: 17.06 kB / 0.8182 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.722, allocations: 7.938 kB / 0.8183 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.722, allocations: 4.156 kB / 0.8183 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.7238, allocations: 1.449 MB / 0.8197 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.7242, allocations: 259.7 kB / 0.8199 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.7243, allocations: 16 kB / 0.8199 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/0.725, allocations: 103.8 kB / 0.82 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.7251, allocations: 49.16 kB / 0.8201 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.7252, allocations: 23.98 kB / 0.8201 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007223/0.7259, allocations: 0.5823 MB / 0.8207 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.7259, allocations: 0 / 0.8207 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001259/0.7272, allocations: 0.5298 MB / 0.8212 GB, free: 11.77 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005169/0.7277, allocations: 245.5 kB / 0.8214 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.7294, allocations: 0.9547 MB / 0.8224 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7295, allocations: 3.938 kB / 0.8224 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.73, allocations: 358.4 kB / 0.8227 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.7327, allocations: 0.6163 MB / 0.8233 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.7359, allocations: 2.613 MB / 0.8259 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.7366, allocations: 1.143 MB / 0.827 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009941/0.7376, allocations: 300.1 kB / 0.8273 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.7378, allocations: 83.42 kB / 0.8273 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of SimCode: time 7.12e-07/0.7378, allocations: 0 / 0.8273 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of Templates: time 0.02877/0.7666, allocations: 19.08 MB / 0.846 GB, free: 2.594 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: