Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001261/0.001261, allocations: 191 kB / 17.29 MB, free: 5.516 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.539/1.539, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7804/0.7804, allocations: 132.2 MB / 423.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3847, allocations: 80.19 MB / 0.5815 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.6683/1.053, allocations: 239.9 MB / 0.8157 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01403/1.067, allocations: 7.202 MB / 0.8228 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002909/1.07, allocations: 50.88 kB / 0.8228 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/1.072, allocations: 0.5089 MB / 0.8233 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004177/1.076, allocations: 1.31 MB / 0.8246 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005372/1.081, allocations: 1.699 MB / 0.8262 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003474/1.085, allocations: 2.018 MB / 0.8282 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/1.086, allocations: 0.8036 MB / 0.829 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004268/1.09, allocations: 1.435 MB / 0.8304 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/1.092, allocations: 0.6845 MB / 0.8311 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/1.092, allocations: 81.41 kB / 0.8311 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/1.096, allocations: 1.813 MB / 0.8329 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/1.096, allocations: 303.7 kB / 0.8332 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005355/1.097, allocations: 491.7 kB / 0.8337 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003332/1.1, allocations: 1.795 MB / 0.8354 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.1, allocations: 0 / 0.8354 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/1.1, allocations: 0 / 0.8354 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.196e-05/1.1, allocations: 0 / 0.8354 GB, free: 5.031 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002425/1.102, allocations: 1.318 MB / 0.8367 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.102, allocations: 10.25 kB / 0.8367 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/1.104, allocations: 281.3 kB / 0.837 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/1.105, allocations: 0.7009 MB / 0.8377 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/1.105, allocations: 40.12 kB / 0.8377 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/1.106, allocations: 51.03 kB / 0.8378 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.107, allocations: 0.6065 MB / 0.8384 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.107, allocations: 0 / 0.8384 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/1.107, allocations: 24.62 kB / 0.8384 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/1.107, allocations: 12.22 kB / 0.8384 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/1.108, allocations: 0.6133 MB / 0.839 GB, free: 2.652 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.003263/1.111, allocations: 2.613 MB / 0.8415 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/1.112, allocations: 481.4 kB / 0.842 GB, free: 220 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/1.113, allocations: 316.7 kB / 0.8423 GB, free: 56 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/1.113, allocations: 408.3 kB / 0.8427 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/1.113, allocations: 40.56 kB / 0.8427 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005909/1.114, allocations: 102.6 kB / 0.8428 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 2.524e-06/1.114, allocations: 3 kB / 0.8428 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00279/1.117, allocations: 1.112 MB / 0.8439 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/1.117, allocations: 56.59 kB / 0.844 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008189/1.118, allocations: 0.6474 MB / 0.8446 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/1.118, allocations: 41.05 kB / 0.8446 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/1.118, allocations: 348.6 kB / 0.845 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/1.118, allocations: 158.5 kB / 0.8451 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/1.118, allocations: 95.94 kB / 0.8452 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.119, allocations: 324.7 kB / 0.8455 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/1.119, allocations: 234.5 kB / 0.8458 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/1.12, allocations: 333 kB / 0.8461 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009246/1.121, allocations: 0.5107 MB / 0.8466 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.121, allocations: 3.219 kB / 0.8466 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001533/1.122, allocations: 0.7259 MB / 0.8473 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.122, allocations: 7.25 kB / 0.8473 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.122, allocations: 4.062 kB / 0.8473 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/1.123, allocations: 97.7 kB / 0.8474 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/1.123, allocations: 88.3 kB / 0.8475 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004999/1.124, allocations: 0.6252 MB / 0.8481 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/1.124, allocations: 36.27 kB / 0.8481 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/1.124, allocations: 21.27 kB / 0.8481 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000703/1.125, allocations: 401.4 kB / 0.8485 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000521/1.126, allocations: 316.4 kB / 0.8488 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009043/1.126, allocations: 0.5154 MB / 0.8493 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/1.126, allocations: 0 / 0.8493 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001367/1.128, allocations: 0.6831 MB / 0.85 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.128, allocations: 8 kB / 0.85 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/1.128, allocations: 0 / 0.85 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/1.128, allocations: 60.81 kB / 0.8501 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/1.129, allocations: 92.92 kB / 0.8501 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/1.13, allocations: 1.88 MB / 0.852 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/1.131, allocations: 39.98 kB / 0.852 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/1.131, allocations: 23.92 kB / 0.852 GB, free: 7.934 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002305/1.131, allocations: 205.4 kB / 0.8522 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/1.131, allocations: 75.06 kB / 0.8523 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/1.133, allocations: 0.7713 MB / 0.8531 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/1.133, allocations: 4 kB / 0.8531 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/1.133, allocations: 0 / 0.8531 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.133, allocations: 3.984 kB / 0.8531 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/1.136, allocations: 1.689 MB / 0.8547 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.136, allocations: 416 / 0.8547 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/1.136, allocations: 91.55 kB / 0.8548 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/1.136, allocations: 72.09 kB / 0.8549 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/1.136, allocations: 12 kB / 0.8549 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004478/1.137, allocations: 0.6212 MB / 0.8555 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.137, allocations: 6.531 kB / 0.8555 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/1.139, allocations: 1.179 MB / 0.8566 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/1.139, allocations: 212.1 kB / 0.8569 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/1.139, allocations: 8 kB / 0.8569 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/1.14, allocations: 35.95 kB / 0.8569 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.14, allocations: 46.52 kB / 0.8569 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/1.14, allocations: 16 kB / 0.857 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005887/1.14, allocations: 474.9 kB / 0.8574 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.14, allocations: 0 / 0.8574 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001047/1.142, allocations: 371.3 kB / 0.8578 GB, free: 1.926 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004731/1.142, allocations: 233.1 kB / 0.858 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001888/1.144, allocations: 0.9883 MB / 0.8589 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.144, allocations: 4 kB / 0.859 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005948/1.145, allocations: 316.8 kB / 0.8593 GB, free: 444 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.146, allocations: 438.1 kB / 0.8597 GB, free: 28 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/1.152, allocations: 1.81 MB / 0.8614 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/1.152, allocations: 0.9736 MB / 0.8624 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009118/1.153, allocations: 221.9 kB / 0.8626 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/1.154, allocations: 59.42 kB / 0.8627 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of SimCode: time 9.32e-07/1.154, allocations: 0 / 0.8627 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of Templates: time 0.0307/1.184, allocations: 16.61 MB / 0.8789 GB, free: 12.6 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)