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.001057/0.001057, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001267/0.001267, allocations: 195.3 kB / 16.91 MB, free: 6.188 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.327/1.327, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7551/0.7551, allocations: 132.2 MB / 422.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 63.84 kB / 0.5019 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3807, allocations: 80.18 MB / 0.5802 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5494/0.9301, allocations: 237 MB / 0.8116 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.9407, allocations: 7.168 MB / 0.8186 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/0.9429, allocations: 47.62 kB / 0.8187 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.9449, allocations: 0.6092 MB / 0.8192 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0057/0.9507, allocations: 1.947 MB / 0.8211 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004682/0.9554, allocations: 1.874 MB / 0.823 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004411/0.9598, allocations: 3.277 MB / 0.8262 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.9615, allocations: 1.109 MB / 0.8273 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004021/0.9655, allocations: 1.78 MB / 0.829 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.968, allocations: 1.018 MB / 0.83 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002826/0.9683, allocations: 122.4 kB / 0.8301 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00526/0.9735, allocations: 2.59 MB / 0.8326 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005929/0.9742, allocations: 467 kB / 0.8331 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.9754, allocations: 0.7166 MB / 0.8338 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.9788, allocations: 2.003 MB / 0.8357 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.9788, allocations: 0 / 0.8357 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9788, allocations: 1.344 kB / 0.8357 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.9788, allocations: 0 / 0.8357 GB, free: 4.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.002892/0.9817, allocations: 1.712 MB / 0.8374 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.9818, allocations: 13.16 kB / 0.8374 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.9845, allocations: 427.7 kB / 0.8378 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.9863, allocations: 0.9555 MB / 0.8388 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.9864, allocations: 65.66 kB / 0.8388 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.9865, allocations: 83.47 kB / 0.8389 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.9881, allocations: 0.8675 MB / 0.8398 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.9881, allocations: 0 / 0.8398 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.9882, allocations: 40.16 kB / 0.8398 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/0.9883, allocations: 28.38 kB / 0.8398 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.9897, allocations: 0.8011 MB / 0.8406 GB, free: 1.07 MB / 0.5762 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.004853/0.9945, allocations: 3.622 MB / 0.8441 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.9959, allocations: 1.102 MB / 0.8452 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.9965, allocations: 371.2 kB / 0.8456 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007053/0.9972, allocations: 407.7 kB / 0.846 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.9973, allocations: 38.06 kB / 0.846 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.234e-06/0.9973, allocations: 3.312 kB / 0.846 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002145/0.9994, allocations: 0.9547 MB / 0.8469 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.9995, allocations: 59.97 kB / 0.847 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/1.001, allocations: 0.8399 MB / 0.8478 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/1.001, allocations: 37.7 kB / 0.8478 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/1.001, allocations: 494.7 kB / 0.8483 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/1.001, allocations: 205.2 kB / 0.8485 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/1.002, allocations: 118.1 kB / 0.8486 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.002, allocations: 322 kB / 0.8489 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/1.002, allocations: 255 kB / 0.8492 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/1.003, allocations: 376.3 kB / 0.8495 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009683/1.004, allocations: 0.5902 MB / 0.8501 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.004, allocations: 4 kB / 0.8501 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001305/1.005, allocations: 0.7279 MB / 0.8508 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.005, allocations: 4 kB / 0.8508 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.005, allocations: 4 kB / 0.8508 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.005, allocations: 4 kB / 0.8508 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/1.006, allocations: 127.5 kB / 0.851 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/1.006, allocations: 4 kB / 0.851 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.007, allocations: 123.4 kB / 0.8511 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/1.007, allocations: 23.98 kB / 0.8511 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007945/1.008, allocations: 497 kB / 0.8516 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000536/1.008, allocations: 374.3 kB / 0.8519 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009542/1.009, allocations: 0.5761 MB / 0.8525 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/1.009, allocations: 0 / 0.8525 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00124/1.01, allocations: 0.7278 MB / 0.8532 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/1.01, allocations: 7.938 kB / 0.8532 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/1.01, allocations: 0 / 0.8532 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/1.01, allocations: 11.98 kB / 0.8532 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/1.011, allocations: 127.5 kB / 0.8533 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/1.011, allocations: 0 / 0.8533 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/1.012, allocations: 111.6 kB / 0.8535 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/1.012, allocations: 27.94 kB / 0.8535 GB, free: 5.098 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.0002236/1.012, allocations: 212 kB / 0.8537 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/1.012, allocations: 98.78 kB / 0.8538 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/1.014, allocations: 0.7494 MB / 0.8545 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.014, allocations: 4 kB / 0.8545 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.014, allocations: 0 / 0.8545 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/1.015, allocations: 0.9137 MB / 0.8554 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/1.018, allocations: 2.237 MB / 0.8576 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.018, allocations: 4 kB / 0.8576 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/1.019, allocations: 139.5 kB / 0.8577 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/1.019, allocations: 4 kB / 0.8577 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/1.019, allocations: 20 kB / 0.8578 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/1.019, allocations: 8 kB / 0.8578 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.019, allocations: 10.62 kB / 0.8578 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/1.021, allocations: 1.262 MB / 0.859 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/1.022, allocations: 263.7 kB / 0.8593 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.022, allocations: 16 kB / 0.8593 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/1.023, allocations: 87.84 kB / 0.8594 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.023, allocations: 54.75 kB / 0.8594 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/1.023, allocations: 27.94 kB / 0.8594 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008007/1.024, allocations: 0.5823 MB / 0.86 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.024, allocations: 0 / 0.86 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001313/1.025, allocations: 0.5415 MB / 0.8605 GB, free: 13.62 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.0005582/1.025, allocations: 240.9 kB / 0.8608 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001945/1.027, allocations: 1.002 MB / 0.8617 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.027, allocations: 3.938 kB / 0.8617 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005505/1.028, allocations: 345.3 kB / 0.8621 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.031, allocations: 0.6051 MB / 0.8627 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/1.034, allocations: 2.591 MB / 0.8652 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007002/1.035, allocations: 1.12 MB / 0.8663 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/1.035, allocations: 87.42 kB / 0.8664 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/1.035, allocations: 0 / 0.8664 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of Templates: time 0.02623/1.061, allocations: 17.08 MB / 0.8831 GB, free: 6.773 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)