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.001486/0.001486, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001451/0.001452, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8734/0.8734, allocations: 135.2 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 64.11 kB / 0.506 GB, free: 8.352 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2993, allocations: 80.93 MB / 0.5851 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.517/0.8163, allocations: 239.8 MB / 0.8193 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009696/0.8261, allocations: 7.21 MB / 0.8263 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.8278, allocations: 48.81 kB / 0.8264 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.8295, allocations: 0.7033 MB / 0.8271 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.8344, allocations: 2.07 MB / 0.8291 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.8388, allocations: 2.016 MB / 0.831 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.8426, allocations: 3.261 MB / 0.8342 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.844, allocations: 1.143 MB / 0.8353 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.8475, allocations: 1.784 MB / 0.8371 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.8491, allocations: 0.9625 MB / 0.838 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.8493, allocations: 122.5 kB / 0.8381 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004348/0.8537, allocations: 2.486 MB / 0.8406 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.8541, allocations: 464.7 kB / 0.841 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007363/0.8549, allocations: 0.7196 MB / 0.8417 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003523/0.8584, allocations: 2.672 MB / 0.8443 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8584, allocations: 0 / 0.8443 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8584, allocations: 0 / 0.8443 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.8584, allocations: 0 / 0.8443 GB, free: 1.23 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.00245/0.8609, allocations: 1.711 MB / 0.846 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.8609, allocations: 12.02 kB / 0.846 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.8635, allocations: 413 kB / 0.8464 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.8652, allocations: 0.9637 MB / 0.8473 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.8653, allocations: 67.44 kB / 0.8474 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.8654, allocations: 91.42 kB / 0.8475 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.867, allocations: 0.861 MB / 0.8483 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.867, allocations: 3.984 kB / 0.8483 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.8671, allocations: 32.59 kB / 0.8484 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.8671, allocations: 34.78 kB / 0.8484 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.8686, allocations: 0.8002 MB / 0.8492 GB, free: 13.83 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.00561/0.8743, allocations: 3.674 MB / 0.8528 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.8759, allocations: 1.081 MB / 0.8538 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000631/0.8766, allocations: 380.7 kB / 0.8542 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007621/0.8773, allocations: 407 kB / 0.8546 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.8774, allocations: 45.64 kB / 0.8546 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.856e-06/0.8774, allocations: 0 / 0.8546 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002381/0.8798, allocations: 0.9583 MB / 0.8556 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.8799, allocations: 62.58 kB / 0.8556 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.8811, allocations: 0.8361 MB / 0.8564 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.736e-05/0.8812, allocations: 37.7 kB / 0.8565 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.8816, allocations: 494.2 kB / 0.8569 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.8819, allocations: 204.4 kB / 0.8571 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.8821, allocations: 118.1 kB / 0.8572 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8822, allocations: 322 kB / 0.8576 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.8828, allocations: 255 kB / 0.8578 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/0.8834, allocations: 370.8 kB / 0.8582 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.8846, allocations: 0.5916 MB / 0.8587 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8846, allocations: 0 / 0.8587 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00143/0.8861, allocations: 0.7318 MB / 0.8594 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.8861, allocations: 4 kB / 0.8594 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8861, allocations: 7.938 kB / 0.8595 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.8862, allocations: 0 / 0.8595 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.8867, allocations: 127.5 kB / 0.8596 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.8868, allocations: 7.984 kB / 0.8596 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/0.8876, allocations: 71.62 kB / 0.8597 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.8877, allocations: 23.98 kB / 0.8597 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008869/0.8885, allocations: 497 kB / 0.8602 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006013/0.8892, allocations: 370.8 kB / 0.8605 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001063/0.8902, allocations: 0.5761 MB / 0.8611 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.8902, allocations: 0 / 0.8611 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001349/0.8916, allocations: 0.7239 MB / 0.8618 GB, free: 396 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.8916, allocations: 8.125 kB / 0.8618 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.8916, allocations: 0 / 0.8618 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.8916, allocations: 7.938 kB / 0.8618 GB, free: 380 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.8922, allocations: 127.5 kB / 0.8619 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.8922, allocations: 4 kB / 0.8619 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007662/0.893, allocations: 63.58 kB / 0.862 GB, free: 192 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.893, allocations: 24 kB / 0.862 GB, free: 168 kB / 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.0002349/0.8933, allocations: 212.8 kB / 0.8622 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.8934, allocations: 102.8 kB / 0.8623 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.8949, allocations: 0.7548 MB / 0.863 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.895, allocations: 4 kB / 0.863 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.895, allocations: 0 / 0.863 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/0.8962, allocations: 0.9019 MB / 0.8639 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.8998, allocations: 2.239 MB / 0.8661 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8998, allocations: 4 kB / 0.8661 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.9005, allocations: 139.5 kB / 0.8662 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.9005, allocations: 7.984 kB / 0.8663 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.9006, allocations: 20.34 kB / 0.8663 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.9006, allocations: 14.62 kB / 0.8663 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.9006, allocations: 4 kB / 0.8663 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.9027, allocations: 1.258 MB / 0.8675 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.9032, allocations: 255.7 kB / 0.8678 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.9033, allocations: 23.92 kB / 0.8678 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.904, allocations: 35.97 kB / 0.8678 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.9041, allocations: 54.89 kB / 0.8679 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.9041, allocations: 23.98 kB / 0.8679 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000855/0.905, allocations: 0.59 MB / 0.8685 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.905, allocations: 3.938 kB / 0.8685 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00128/0.9063, allocations: 0.5299 MB / 0.869 GB, free: 8.746 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.0005105/0.9068, allocations: 249.8 kB / 0.8692 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002059/0.9089, allocations: 1.006 MB / 0.8702 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9089, allocations: 0 / 0.8702 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000613/0.9095, allocations: 341.2 kB / 0.8705 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.9122, allocations: 0.5987 MB / 0.8711 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.9157, allocations: 2.211 MB / 0.8733 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008487/0.9166, allocations: 1.12 MB / 0.8744 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.9169, allocations: 87.42 kB / 0.8745 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.9169, allocations: 0 / 0.8745 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of Templates: time 0.02727/0.9442, allocations: 17.11 MB / 0.8912 GB, free: 2.23 MB / 0.6231 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)