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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0009103/0.0009103, allocations: 102.8 kB / 16.35 MB, free: 5.824 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.0009843/0.0009843, allocations: 193.7 kB / 17.29 MB, free: 5.48 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7645/0.7645, allocations: 132.2 MB / 423.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.366, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5529/0.919, allocations: 239.9 MB / 0.8157 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.9291, allocations: 7.2 MB / 0.8228 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.9311, allocations: 51.44 kB / 0.8228 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.9327, allocations: 0.7006 MB / 0.8235 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.9377, allocations: 2.076 MB / 0.8255 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004677/0.9424, allocations: 2.033 MB / 0.8275 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004218/0.9466, allocations: 3.267 MB / 0.8307 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.9481, allocations: 1.137 MB / 0.8318 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003466/0.9516, allocations: 1.785 MB / 0.8335 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.9531, allocations: 0.9639 MB / 0.8345 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.9533, allocations: 120.5 kB / 0.8346 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004234/0.9575, allocations: 2.493 MB / 0.837 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003723/0.9579, allocations: 463.1 kB / 0.8375 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007512/0.9587, allocations: 0.7231 MB / 0.8382 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004208/0.9629, allocations: 2.68 MB / 0.8408 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9629, allocations: 0 / 0.8408 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9629, allocations: 0 / 0.8408 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.507e-05/0.9629, allocations: 2.875 kB / 0.8408 GB, free: 2.344 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.002522/0.9655, allocations: 1.718 MB / 0.8425 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9655, allocations: 11.34 kB / 0.8425 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.968, allocations: 422 kB / 0.8429 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.9698, allocations: 1.023 MB / 0.8439 GB, free: 136 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.9698, allocations: 61 kB / 0.844 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.97, allocations: 82.59 kB / 0.844 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.9716, allocations: 0.8611 MB / 0.8449 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.9716, allocations: 3.938 kB / 0.8449 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.931e-05/0.9717, allocations: 32.81 kB / 0.8449 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.9717, allocations: 28.66 kB / 0.8449 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.9732, allocations: 0.8159 MB / 0.8457 GB, free: 15.15 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.004933/0.9781, allocations: 3.632 MB / 0.8493 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.9795, allocations: 1.095 MB / 0.8503 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005987/0.9802, allocations: 366.4 kB / 0.8507 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.9809, allocations: 414.4 kB / 0.8511 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.981, allocations: 39.12 kB / 0.8511 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.304e-06/0.981, allocations: 4 kB / 0.8511 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.00196/0.9829, allocations: 0.9492 MB / 0.8521 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.983, allocations: 71.84 kB / 0.8521 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.984, allocations: 0.84 MB / 0.8529 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.9841, allocations: 37.7 kB / 0.853 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.9845, allocations: 484.1 kB / 0.8534 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.9847, allocations: 212.4 kB / 0.8536 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.9849, allocations: 110.2 kB / 0.8538 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.985, allocations: 330 kB / 0.8541 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.9855, allocations: 259 kB / 0.8543 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.9861, allocations: 374.8 kB / 0.8547 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000971/0.9871, allocations: 0.5863 MB / 0.8552 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9871, allocations: 4 kB / 0.8552 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001278/0.9884, allocations: 0.7254 MB / 0.856 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.9884, allocations: 8 kB / 0.856 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9884, allocations: 0 / 0.856 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.9884, allocations: 4 kB / 0.856 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.989, allocations: 127.7 kB / 0.8561 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.989, allocations: 7.938 kB / 0.8561 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007784/0.9898, allocations: 71.48 kB / 0.8562 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.9899, allocations: 20 kB / 0.8562 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008067/0.9907, allocations: 0.4893 MB / 0.8567 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005606/0.9913, allocations: 370.9 kB / 0.857 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009304/0.9922, allocations: 0.5746 MB / 0.8576 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.9922, allocations: 4 kB / 0.8576 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001185/0.9934, allocations: 0.7215 MB / 0.8583 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.9934, allocations: 8 kB / 0.8583 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.9934, allocations: 0 / 0.8583 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.9934, allocations: 4 kB / 0.8583 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.994, allocations: 123.6 kB / 0.8584 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.994, allocations: 4 kB / 0.8584 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007423/0.9947, allocations: 71.64 kB / 0.8585 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.9948, allocations: 26.52 kB / 0.8585 GB, free: 2.238 MB / 0.5919 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.0001987/0.995, allocations: 209.3 kB / 0.8587 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.9952, allocations: 102.8 kB / 0.8588 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.9966, allocations: 0.7432 MB / 0.8595 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.9966, allocations: 8 kB / 0.8595 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.9966, allocations: 11.86 kB / 0.8596 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/0.9977, allocations: 0.8981 MB / 0.8604 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/1.001, allocations: 2.242 MB / 0.8626 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.001, allocations: 4 kB / 0.8626 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/1.002, allocations: 140 kB / 0.8628 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/1.002, allocations: 11.98 kB / 0.8628 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/1.002, allocations: 19.98 kB / 0.8628 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/1.002, allocations: 10.47 kB / 0.8628 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.002, allocations: 7.938 kB / 0.8628 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/1.004, allocations: 1.251 MB / 0.864 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/1.004, allocations: 259.7 kB / 0.8643 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/1.004, allocations: 16 kB / 0.8643 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/1.005, allocations: 43.95 kB / 0.8643 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.005, allocations: 50.84 kB / 0.8644 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/1.005, allocations: 24 kB / 0.8644 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007806/1.006, allocations: 0.5823 MB / 0.865 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/1.006, allocations: 0 / 0.865 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001284/1.007, allocations: 0.5416 MB / 0.8655 GB, free: 10.82 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.0005009/1.008, allocations: 233.8 kB / 0.8657 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001753/1.01, allocations: 0.942 MB / 0.8666 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.01, allocations: 0 / 0.8666 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/1.01, allocations: 341.6 kB / 0.867 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/1.013, allocations: 0.6105 MB / 0.8676 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/1.016, allocations: 2.113 MB / 0.8696 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/1.017, allocations: 1.135 MB / 0.8707 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009007/1.017, allocations: 300 kB / 0.871 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/1.018, allocations: 83.36 kB / 0.8711 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/1.018, allocations: 0 / 0.8711 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of Templates: time 0.03395/1.052, allocations: 20.4 MB / 0.891 GB, free: 1.086 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)