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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 182 kB / 15.98 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7459/0.7459, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 403.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 110 kB / 484.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009733/0.0009734, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1219, allocations: 80.2 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5433/0.6653, allocations: 237.7 MB / 0.8723 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.6779, allocations: 7.28 MB / 0.8794 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.6801, allocations: 47.69 kB / 0.8795 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.6826, allocations: 0.575 MB / 0.88 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006975/0.6896, allocations: 1.958 MB / 0.882 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005479/0.6951, allocations: 1.856 MB / 0.8838 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005646/0.7008, allocations: 4.443 MB / 0.8881 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.7027, allocations: 0.9473 MB / 0.889 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.7068, allocations: 1.607 MB / 0.8906 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.7094, allocations: 0.9929 MB / 0.8916 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005894/0.71, allocations: 60 kB / 0.8916 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006558/0.7166, allocations: 2.844 MB / 0.8944 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007271/0.7173, allocations: 402.7 kB / 0.8948 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.7187, allocations: 0.6529 MB / 0.8954 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005601/0.7243, allocations: 2.773 MB / 0.8981 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7244, allocations: 0 / 0.8981 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7244, allocations: 0 / 0.8981 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.393e-05/0.7245, allocations: 0 / 0.8981 GB, free: 10.74 MB / 0.6355 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.004267/0.7287, allocations: 1.713 MB / 0.8998 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.7288, allocations: 8.031 kB / 0.8998 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/0.7317, allocations: 422 kB / 0.9002 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.7338, allocations: 0.9676 MB / 0.9012 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.7339, allocations: 66 kB / 0.9012 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.7341, allocations: 84 kB / 0.9013 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.7358, allocations: 0.8624 MB / 0.9022 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.7359, allocations: 0 / 0.9022 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.404e-05/0.736, allocations: 28 kB / 0.9022 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.736, allocations: 34 kB / 0.9022 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.7377, allocations: 0.8003 MB / 0.903 GB, free: 5.664 MB / 0.6355 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.005569/0.7433, allocations: 3.627 MB / 0.9065 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.7448, allocations: 1.103 MB / 0.9076 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.7454, allocations: 370 kB / 0.908 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007009/0.7462, allocations: 408.9 kB / 0.9084 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.7462, allocations: 39.12 kB / 0.9084 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 2.906e-06/0.7462, allocations: 0 / 0.9084 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.002124/0.7483, allocations: 0.9584 MB / 0.9093 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.7484, allocations: 59.91 kB / 0.9094 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.7496, allocations: 0.8361 MB / 0.9102 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.7497, allocations: 37.7 kB / 0.9102 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.7501, allocations: 492.1 kB / 0.9107 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.7503, allocations: 212.9 kB / 0.9109 GB, free: 13 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.7505, allocations: 118.1 kB / 0.911 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7506, allocations: 326 kB / 0.9113 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.7511, allocations: 251 kB / 0.9116 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.7517, allocations: 376.2 kB / 0.9119 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.7527, allocations: 0.5891 MB / 0.9125 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.7528, allocations: 3.938 kB / 0.9125 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001492/0.7543, allocations: 0.732 MB / 0.9132 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.7543, allocations: 5.094 kB / 0.9132 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.7543, allocations: 4 kB / 0.9132 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.7543, allocations: 4 kB / 0.9132 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.7549, allocations: 131.8 kB / 0.9134 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.755, allocations: 4 kB / 0.9134 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.756, allocations: 121.7 kB / 0.9135 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.756, allocations: 20 kB / 0.9135 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007849/0.7568, allocations: 493 kB / 0.914 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006013/0.7575, allocations: 372.3 kB / 0.9143 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000976/0.7584, allocations: 0.5813 MB / 0.9149 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-06/0.7585, allocations: 0 / 0.9149 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001293/0.7598, allocations: 0.7242 MB / 0.9156 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.7598, allocations: 8 kB / 0.9156 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.7598, allocations: 0 / 0.9156 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.7598, allocations: 4 kB / 0.9156 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.7603, allocations: 123.8 kB / 0.9157 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.7604, allocations: 4 kB / 0.9157 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009761/0.7613, allocations: 115.6 kB / 0.9158 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.7614, allocations: 27.98 kB / 0.9159 GB, free: 7.785 MB / 0.6511 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.0001941/0.7616, allocations: 213.4 kB / 0.9161 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.7618, allocations: 102.8 kB / 0.9162 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.7633, allocations: 0.7397 MB / 0.9169 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.7633, allocations: 8 kB / 0.9169 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.7633, allocations: 3.938 kB / 0.9169 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/0.7644, allocations: 0.9073 MB / 0.9178 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.768, allocations: 2.248 MB / 0.92 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.7681, allocations: 4 kB / 0.92 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/0.7687, allocations: 135.8 kB / 0.9201 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.7687, allocations: 8 kB / 0.9201 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.7688, allocations: 19.98 kB / 0.9202 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.7688, allocations: 7.938 kB / 0.9202 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7688, allocations: 4 kB / 0.9202 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02268/0.7915, allocations: 8.326 MB / 0.9283 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000528/0.7921, allocations: 255.7 kB / 0.9285 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.7922, allocations: 23.98 kB / 0.9286 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008939/0.7931, allocations: 91.81 kB / 0.9286 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.7933, allocations: 52.25 kB / 0.9287 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/0.7934, allocations: 20 kB / 0.9287 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008756/0.7943, allocations: 0.5862 MB / 0.9293 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7943, allocations: 3.938 kB / 0.9293 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003211/0.7975, allocations: 0.9088 MB / 0.9302 GB, free: 8.641 MB / 0.6667 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.0005503/0.7981, allocations: 255.7 kB / 0.9304 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.8, allocations: 0.935 MB / 0.9313 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8, allocations: 0 / 0.9313 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005803/0.8006, allocations: 347.5 kB / 0.9317 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/0.8036, allocations: 0.6178 MB / 0.9323 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.8074, allocations: 2.934 MB / 0.9351 GB, free: 3.484 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/0.808, allocations: 1.14 MB / 0.9363 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001241/0.8093, allocations: 316.1 kB / 0.9366 GB, free: 2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.8096, allocations: 87.41 kB / 0.9366 GB, free: 1.914 MB / 0.6667 GB Notification: Performance of SimCode: time 7.81e-07/0.8096, allocations: 7.938 kB / 0.9366 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of Templates: time 0.3323/1.142, allocations: 23.56 MB / 0.9596 GB, free: 254.1 MB / 0.6823 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)