Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009028/0.0009027, allocations: 99.7 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.0008959/0.0008959, 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.22/1.22, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.857/0.857, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 13.42 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1675, allocations: 82.31 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.4915/0.659, allocations: 196.6 MB / 0.7791 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01147/0.6705, allocations: 7.23 MB / 0.7862 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.6722, allocations: 43.69 kB / 0.7862 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.6743, allocations: 0.6727 MB / 0.7869 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00561/0.6799, allocations: 1.938 MB / 0.7888 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004162/0.6841, allocations: 1.601 MB / 0.7904 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003026/0.6871, allocations: 1.884 MB / 0.7922 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.6883, allocations: 0.8278 MB / 0.793 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/0.6916, allocations: 1.421 MB / 0.7944 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009742/0.6926, allocations: 0.6147 MB / 0.795 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.6927, allocations: 48 kB / 0.795 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.6952, allocations: 1.061 MB / 0.7961 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003521/0.6956, allocations: 350.9 kB / 0.7964 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.6959, allocations: 285.1 kB / 0.7967 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.6978, allocations: 1.613 MB / 0.7983 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.6978, allocations: 0 / 0.7983 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6978, allocations: 0 / 0.7983 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.6978, allocations: 3.938 kB / 0.7983 GB, free: 4.285 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.002426/0.7003, allocations: 1.437 MB / 0.7997 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.7003, allocations: 11.97 kB / 0.7997 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.7029, allocations: 437.9 kB / 0.8001 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.7045, allocations: 0.9219 MB / 0.801 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.7046, allocations: 62 kB / 0.8011 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.7047, allocations: 80 kB / 0.8011 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.7062, allocations: 0.8701 MB / 0.802 GB, free: 384 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.7062, allocations: 0 / 0.802 GB, free: 384 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/0.7063, allocations: 28 kB / 0.802 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.7064, allocations: 33.98 kB / 0.802 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.7078, allocations: 0.8237 MB / 0.8028 GB, free: 15.49 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.00439/0.7122, allocations: 3.635 MB / 0.8064 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.7136, allocations: 1.117 MB / 0.8075 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.714, allocations: 157.6 kB / 0.8076 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.714, allocations: 43.06 kB / 0.8077 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 1.643e-06/0.714, allocations: 0 / 0.8077 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.00193/0.7159, allocations: 0.9896 MB / 0.8086 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.716, allocations: 59.97 kB / 0.8087 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009526/0.7169, allocations: 0.8243 MB / 0.8095 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.717, allocations: 45.7 kB / 0.8095 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.7174, allocations: 484.1 kB / 0.81 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.7176, allocations: 212.8 kB / 0.8102 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.7176, allocations: 12 kB / 0.8102 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.7178, allocations: 326 kB / 0.8105 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.7182, allocations: 257 kB / 0.8108 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.7187, allocations: 376.2 kB / 0.8111 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.7193, allocations: 298.1 kB / 0.8114 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7193, allocations: 0 / 0.8114 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001164/0.7204, allocations: 0.7399 MB / 0.8121 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.7206, allocations: 453.7 kB / 0.8126 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7206, allocations: 0 / 0.8126 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7206, allocations: 4 kB / 0.8126 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.7212, allocations: 139.8 kB / 0.8127 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.7212, allocations: 7.953 kB / 0.8127 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/0.7221, allocations: 131 kB / 0.8128 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.7221, allocations: 20 kB / 0.8129 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.403e-06/0.7221, allocations: 4 kB / 0.8129 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001035/0.7232, allocations: 0.6299 MB / 0.8135 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.7232, allocations: 0 / 0.8135 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/0.7232, allocations: 4 kB / 0.8135 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.7237, allocations: 127.9 kB / 0.8136 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7237, allocations: 8 kB / 0.8136 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000725/0.7245, allocations: 115.4 kB / 0.8137 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.7245, allocations: 20 kB / 0.8137 GB, free: 3.766 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.0004544/0.725, allocations: 398.9 kB / 0.8141 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.7251, allocations: 102.8 kB / 0.8142 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.7265, allocations: 0.7509 MB / 0.815 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.7265, allocations: 8 kB / 0.815 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7265, allocations: 0 / 0.815 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/0.7276, allocations: 0.9267 MB / 0.8159 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.7308, allocations: 2.263 MB / 0.8181 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.7308, allocations: 5 kB / 0.8181 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.7314, allocations: 143.8 kB / 0.8182 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.7315, allocations: 8.359 kB / 0.8182 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.7315, allocations: 20 kB / 0.8182 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.7315, allocations: 8 kB / 0.8183 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7315, allocations: 4 kB / 0.8183 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.7334, allocations: 1.446 MB / 0.8197 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.7338, allocations: 263.7 kB / 0.8199 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.7339, allocations: 12 kB / 0.8199 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/0.7347, allocations: 99.84 kB / 0.82 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.7348, allocations: 48.33 kB / 0.8201 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.7348, allocations: 31.98 kB / 0.8201 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007058/0.7355, allocations: 0.5705 MB / 0.8207 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7355, allocations: 0 / 0.8207 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001155/0.7367, allocations: 0.5338 MB / 0.8212 GB, free: 11.75 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.0004747/0.7372, allocations: 252.8 kB / 0.8214 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.7388, allocations: 0.9588 MB / 0.8224 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7388, allocations: 0 / 0.8224 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005506/0.7394, allocations: 347.1 kB / 0.8227 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.7419, allocations: 0.6114 MB / 0.8233 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.745, allocations: 2.62 MB / 0.8258 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.7457, allocations: 1.143 MB / 0.827 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009526/0.7467, allocations: 304.1 kB / 0.8273 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.7469, allocations: 79.42 kB / 0.8273 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.7469, allocations: 0 / 0.8273 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of Templates: time 0.03087/0.7778, allocations: 19.08 MB / 0.846 GB, free: 2.586 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: