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.001065/0.001065, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 192.4 kB / 16.53 MB, free: 6.664 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7141/0.7141, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 62.34 kB / 0.5018 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4674, allocations: 80.2 MB / 0.5801 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.2554/0.7228, allocations: 239.9 MB / 0.8143 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.401/1.124, allocations: 7.18 MB / 0.8213 GB, free: 19.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/1.126, allocations: 51 kB / 0.8214 GB, free: 19.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/1.128, allocations: 0.6942 MB / 0.8221 GB, free: 19.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005507/1.133, allocations: 2.08 MB / 0.8241 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005216/1.138, allocations: 2.008 MB / 0.8261 GB, free: 19.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004759/1.143, allocations: 3.263 MB / 0.8292 GB, free: 19.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/1.145, allocations: 1.146 MB / 0.8304 GB, free: 19.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/1.149, allocations: 1.785 MB / 0.8321 GB, free: 19.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/1.152, allocations: 0.9663 MB / 0.8331 GB, free: 19.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003011/1.152, allocations: 121.8 kB / 0.8332 GB, free: 19.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005715/1.158, allocations: 2.487 MB / 0.8356 GB, free: 19.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000641/1.158, allocations: 462.2 kB / 0.836 GB, free: 19.64 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/1.16, allocations: 0.7179 MB / 0.8367 GB, free: 19.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004562/1.164, allocations: 2.67 MB / 0.8393 GB, free: 19.49 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.164, allocations: 0.9062 kB / 0.8393 GB, free: 19.49 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.413e-06/1.164, allocations: 0 / 0.8393 GB, free: 19.49 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.397e-05/1.164, allocations: 0.7812 kB / 0.8393 GB, free: 19.49 MB / 0.6387 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.002394/1.167, allocations: 1.709 MB / 0.841 GB, free: 18.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.167, allocations: 10.25 kB / 0.841 GB, free: 18.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/1.169, allocations: 417.6 kB / 0.8414 GB, free: 18.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/1.171, allocations: 0.9682 MB / 0.8424 GB, free: 18.17 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/1.171, allocations: 61.06 kB / 0.8424 GB, free: 18.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/1.171, allocations: 90.33 kB / 0.8425 GB, free: 18.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/1.172, allocations: 0.8643 MB / 0.8434 GB, free: 18.11 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/1.172, allocations: 0 / 0.8434 GB, free: 18.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.696e-05/1.172, allocations: 32.88 kB / 0.8434 GB, free: 18.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/1.172, allocations: 27.66 kB / 0.8434 GB, free: 18.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/1.174, allocations: 0.8049 MB / 0.8442 GB, free: 18.1 MB / 0.6387 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.003895/1.178, allocations: 3.667 MB / 0.8478 GB, free: 16.49 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/1.179, allocations: 1.093 MB / 0.8489 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004847/1.179, allocations: 372.1 kB / 0.8492 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/1.18, allocations: 410.2 kB / 0.8496 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/1.18, allocations: 42.78 kB / 0.8496 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.305e-06/1.18, allocations: 0 / 0.8496 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.001832/1.182, allocations: 0.9615 MB / 0.8506 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.182, allocations: 57.62 kB / 0.8506 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008866/1.183, allocations: 0.833 MB / 0.8514 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/1.183, allocations: 41.3 kB / 0.8515 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/1.183, allocations: 481.3 kB / 0.8519 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/1.183, allocations: 213.2 kB / 0.8521 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/1.183, allocations: 112.9 kB / 0.8523 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.356e-05/1.183, allocations: 332 kB / 0.8526 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/1.184, allocations: 258.3 kB / 0.8528 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/1.184, allocations: 374.6 kB / 0.8532 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009447/1.185, allocations: 0.586 MB / 0.8537 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.185, allocations: 0.8438 kB / 0.8537 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001474/1.187, allocations: 0.7353 MB / 0.8545 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.187, allocations: 5.844 kB / 0.8545 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.187, allocations: 3.359 kB / 0.8545 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/1.187, allocations: 4.188 kB / 0.8545 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/1.187, allocations: 130.3 kB / 0.8546 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/1.187, allocations: 8.094 kB / 0.8546 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008779/1.188, allocations: 71.02 kB / 0.8547 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/1.188, allocations: 21.88 kB / 0.8547 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008989/1.189, allocations: 497.9 kB / 0.8552 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005379/1.19, allocations: 364.4 kB / 0.8555 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009504/1.191, allocations: 0.5841 MB / 0.8561 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/1.191, allocations: 1.094 kB / 0.8561 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001279/1.192, allocations: 0.7262 MB / 0.8568 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.192, allocations: 6.406 kB / 0.8568 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-06/1.192, allocations: 0.875 kB / 0.8568 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/1.192, allocations: 5.281 kB / 0.8568 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/1.193, allocations: 122.8 kB / 0.8569 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.193, allocations: 6.938 kB / 0.8569 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/1.193, allocations: 63.94 kB / 0.857 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/1.194, allocations: 18.23 kB / 0.857 GB, free: 13.86 MB / 0.6387 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.0001984/1.194, allocations: 222.2 kB / 0.8572 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.194, allocations: 105.7 kB / 0.8573 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/1.195, allocations: 0.7421 MB / 0.8581 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.195, allocations: 5.031 kB / 0.8581 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.195, allocations: 0.7812 kB / 0.8581 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001005/1.196, allocations: 0.9014 MB / 0.8589 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/1.2, allocations: 2.251 MB / 0.8611 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.2, allocations: 1.781 kB / 0.8611 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/1.2, allocations: 140.8 kB / 0.8613 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/1.2, allocations: 4.844 kB / 0.8613 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/1.2, allocations: 19.05 kB / 0.8613 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/1.2, allocations: 5.234 kB / 0.8613 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.2, allocations: 9.906 kB / 0.8613 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/1.202, allocations: 1.258 MB / 0.8625 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/1.202, allocations: 254 kB / 0.8628 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.203, allocations: 18.25 kB / 0.8628 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/1.203, allocations: 41.44 kB / 0.8628 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.203, allocations: 60.14 kB / 0.8629 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/1.203, allocations: 25.38 kB / 0.8629 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006837/1.204, allocations: 0.5856 MB / 0.8635 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.204, allocations: 0.625 kB / 0.8635 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001302/1.205, allocations: 0.5343 MB / 0.864 GB, free: 11.79 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 (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.0005188/1.206, allocations: 236 kB / 0.8642 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001829/1.208, allocations: 1.007 MB / 0.8652 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/1.208, allocations: 0 / 0.8652 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005253/1.208, allocations: 344.1 kB / 0.8656 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/1.211, allocations: 0.6081 MB / 0.8661 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/1.213, allocations: 2.156 MB / 0.8683 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/1.214, allocations: 1.126 MB / 0.8693 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001019/1.215, allocations: 296.3 kB / 0.8696 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/1.215, allocations: 81.97 kB / 0.8697 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/1.215, allocations: 0 / 0.8697 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of Templates: time 0.03037/1.246, allocations: 20.41 MB / 0.8896 GB, free: 15.75 MB / 0.6544 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)