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.01331/0.01331, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002403/0.002403, allocations: 194.6 kB / 16.67 MB, free: 5.938 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9723/0.9723, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 0.5856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5511, allocations: 80.91 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.827/1.378, allocations: 239.9 MB / 0.8989 GB, free: 19.69 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01451/1.393, allocations: 7.202 MB / 0.9059 GB, free: 19.59 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/1.396, allocations: 55.03 kB / 0.9059 GB, free: 19.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002659/1.399, allocations: 0.6928 MB / 0.9066 GB, free: 19.58 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007663/1.406, allocations: 2.074 MB / 0.9086 GB, free: 19.49 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006821/1.413, allocations: 2.032 MB / 0.9106 GB, free: 19.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006988/1.42, allocations: 3.274 MB / 0.9138 GB, free: 19.42 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/1.423, allocations: 1.137 MB / 0.9149 GB, free: 19.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005397/1.428, allocations: 1.789 MB / 0.9167 GB, free: 19.29 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/1.431, allocations: 0.9789 MB / 0.9176 GB, free: 19.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003119/1.431, allocations: 123.1 kB / 0.9178 GB, free: 19.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006358/1.438, allocations: 2.487 MB / 0.9202 GB, free: 19.25 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008617/1.438, allocations: 458 kB / 0.9206 GB, free: 19.25 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00163/1.44, allocations: 0.7181 MB / 0.9213 GB, free: 19.13 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007342/1.447, allocations: 2.705 MB / 0.924 GB, free: 18.81 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.447, allocations: 3.094 kB / 0.924 GB, free: 18.81 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.214e-06/1.447, allocations: 1 kB / 0.924 GB, free: 18.81 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.398e-05/1.447, allocations: 0 / 0.924 GB, free: 18.81 MB / 0.6856 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.003226/1.451, allocations: 1.762 MB / 0.9257 GB, free: 17.86 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.451, allocations: 8.281 kB / 0.9257 GB, free: 17.86 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/1.454, allocations: 433.4 kB / 0.9261 GB, free: 17.78 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/1.455, allocations: 1.021 MB / 0.9271 GB, free: 17.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/1.455, allocations: 65.78 kB / 0.9272 GB, free: 17.42 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/1.455, allocations: 81.09 kB / 0.9272 GB, free: 17.42 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/1.457, allocations: 0.862 MB / 0.9281 GB, free: 17.36 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/1.457, allocations: 0.9062 kB / 0.9281 GB, free: 17.36 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/1.457, allocations: 37.36 kB / 0.9281 GB, free: 17.36 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/1.457, allocations: 30.09 kB / 0.9281 GB, free: 17.36 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/1.459, allocations: 0.8058 MB / 0.9289 GB, free: 17.35 MB / 0.6856 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.00573/1.465, allocations: 3.648 MB / 0.9325 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/1.466, allocations: 1.089 MB / 0.9336 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/1.467, allocations: 373.1 kB / 0.9339 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/1.467, allocations: 404 kB / 0.9343 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/1.467, allocations: 41.34 kB / 0.9343 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 3.337e-06/1.467, allocations: 3.25 kB / 0.9343 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002438/1.47, allocations: 0.9663 MB / 0.9353 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/1.47, allocations: 60.84 kB / 0.9353 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/1.471, allocations: 0.8393 MB / 0.9362 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/1.471, allocations: 40.92 kB / 0.9362 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/1.471, allocations: 492.7 kB / 0.9367 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/1.472, allocations: 222.2 kB / 0.9369 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/1.472, allocations: 113 kB / 0.937 GB, free: 14 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/1.472, allocations: 326 kB / 0.9373 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/1.472, allocations: 257.9 kB / 0.9376 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/1.473, allocations: 371.3 kB / 0.9379 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/1.474, allocations: 0.5861 MB / 0.9385 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.474, allocations: 0 / 0.9385 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001405/1.475, allocations: 0.7366 MB / 0.9392 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.475, allocations: 6.25 kB / 0.9392 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.475, allocations: 2.906 kB / 0.9392 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.475, allocations: 6.562 kB / 0.9392 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/1.476, allocations: 129.4 kB / 0.9393 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.476, allocations: 6.594 kB / 0.9393 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008588/1.477, allocations: 72.02 kB / 0.9394 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/1.477, allocations: 27.06 kB / 0.9394 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008534/1.478, allocations: 0.4886 MB / 0.9399 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005191/1.478, allocations: 368 kB / 0.9403 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008928/1.479, allocations: 0.58 MB / 0.9408 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.706e-06/1.479, allocations: 0.5469 kB / 0.9408 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001211/1.48, allocations: 0.7216 MB / 0.9415 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.48, allocations: 7.438 kB / 0.9415 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.481, allocations: 0 / 0.9415 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/1.481, allocations: 5.812 kB / 0.9416 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/1.481, allocations: 127.4 kB / 0.9417 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.481, allocations: 10.12 kB / 0.9417 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/1.482, allocations: 65.58 kB / 0.9417 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/1.482, allocations: 21 kB / 0.9418 GB, free: 13.05 MB / 0.6856 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.0002682/1.482, allocations: 218.8 kB / 0.942 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/1.482, allocations: 107.5 kB / 0.9421 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/1.484, allocations: 0.7462 MB / 0.9428 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.484, allocations: 6.25 kB / 0.9428 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.484, allocations: 3.938 kB / 0.9428 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/1.485, allocations: 0.8994 MB / 0.9437 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003754/1.489, allocations: 2.238 MB / 0.9459 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.489, allocations: 3.812 kB / 0.9459 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/1.49, allocations: 142.7 kB / 0.946 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/1.49, allocations: 5.219 kB / 0.946 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/1.49, allocations: 20.91 kB / 0.946 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.732e-05/1.49, allocations: 12.3 kB / 0.9461 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.49, allocations: 7.062 kB / 0.9461 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/1.492, allocations: 1.261 MB / 0.9473 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/1.492, allocations: 268 kB / 0.9475 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/1.492, allocations: 32.17 kB / 0.9476 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/1.493, allocations: 39.66 kB / 0.9476 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.493, allocations: 43.34 kB / 0.9477 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/1.493, allocations: 26.97 kB / 0.9477 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007814/1.494, allocations: 0.5898 MB / 0.9483 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.494, allocations: 0 / 0.9483 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001388/1.495, allocations: 0.5408 MB / 0.9488 GB, free: 10.3 MB / 0.6856 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.0005555/1.496, allocations: 238.4 kB / 0.949 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001751/1.498, allocations: 0.9437 MB / 0.9499 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.498, allocations: 2.938 kB / 0.9499 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000566/1.498, allocations: 346.9 kB / 0.9503 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/1.501, allocations: 0.5888 MB / 0.9508 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/1.504, allocations: 2.155 MB / 0.9529 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/1.504, allocations: 1.126 MB / 0.954 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001025/1.505, allocations: 302.3 kB / 0.9543 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/1.506, allocations: 82.36 kB / 0.9544 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of SimCode: time 7.52e-07/1.506, allocations: 2.5 kB / 0.9544 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of Templates: time 0.03394/1.54, allocations: 20.54 MB / 0.9745 GB, free: 4.746 MB / 0.7012 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)