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.007041/0.007042, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001507/0.001507, allocations: 190.1 kB / 16.67 MB, free: 5.93 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7254/0.7254, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 62.16 kB / 0.5813 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1754, allocations: 80.21 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6876/0.863, allocations: 239.9 MB / 0.8939 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.8741, allocations: 7.207 MB / 0.9009 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/0.8764, allocations: 53.88 kB / 0.901 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.8783, allocations: 0.7041 MB / 0.9017 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005606/0.884, allocations: 2.064 MB / 0.9037 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005293/0.8893, allocations: 2.035 MB / 0.9057 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004887/0.8942, allocations: 3.27 MB / 0.9089 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.8959, allocations: 1.134 MB / 0.91 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004346/0.9002, allocations: 1.792 MB / 0.9117 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.9029, allocations: 0.968 MB / 0.9127 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005017/0.9034, allocations: 126.2 kB / 0.9128 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005303/0.9087, allocations: 2.488 MB / 0.9152 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00069/0.9094, allocations: 461.2 kB / 0.9157 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.911, allocations: 0.7203 MB / 0.9164 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006514/0.9175, allocations: 2.703 MB / 0.919 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9176, allocations: 0 / 0.919 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9176, allocations: 0 / 0.919 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.845e-05/0.9177, allocations: 0 / 0.919 GB, free: 10.32 MB / 0.6544 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.003665/0.9213, allocations: 1.759 MB / 0.9207 GB, free: 9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.9214, allocations: 9.094 kB / 0.9207 GB, free: 9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/0.9241, allocations: 432.6 kB / 0.9211 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.926, allocations: 1.027 MB / 0.9222 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.9261, allocations: 63.94 kB / 0.9222 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.9262, allocations: 84.44 kB / 0.9223 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.9277, allocations: 0.8675 MB / 0.9231 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.9277, allocations: 0 / 0.9231 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-05/0.9278, allocations: 36.11 kB / 0.9232 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/0.9279, allocations: 28.22 kB / 0.9232 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.9292, allocations: 0.8048 MB / 0.924 GB, free: 7.07 MB / 0.6544 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.004582/0.9338, allocations: 3.643 MB / 0.9275 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.9353, allocations: 1.087 MB / 0.9286 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.9358, allocations: 370.3 kB / 0.929 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006698/0.9365, allocations: 408.1 kB / 0.9293 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.9366, allocations: 39.12 kB / 0.9294 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.044e-06/0.9366, allocations: 0 / 0.9294 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002067/0.9386, allocations: 0.9667 MB / 0.9303 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.9387, allocations: 55.97 kB / 0.9304 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009805/0.9397, allocations: 0.8431 MB / 0.9312 GB, free: 80 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.9397, allocations: 41.7 kB / 0.9312 GB, free: 32 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.9401, allocations: 482.9 kB / 0.9317 GB, free: 15.55 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.9403, allocations: 231.6 kB / 0.9319 GB, free: 15.33 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.9405, allocations: 118.1 kB / 0.932 GB, free: 15.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.9406, allocations: 326 kB / 0.9324 GB, free: 14.88 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.9411, allocations: 255 kB / 0.9326 GB, free: 14.63 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.9417, allocations: 368.9 kB / 0.9329 GB, free: 14.24 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.9426, allocations: 0.5913 MB / 0.9335 GB, free: 13.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.9427, allocations: 0 / 0.9335 GB, free: 13.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001328/0.944, allocations: 0.7428 MB / 0.9343 GB, free: 12.89 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.944, allocations: 4 kB / 0.9343 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.944, allocations: 0 / 0.9343 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.9441, allocations: 13.05 kB / 0.9343 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.9446, allocations: 126.1 kB / 0.9344 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.9446, allocations: 4.125 kB / 0.9344 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008145/0.9454, allocations: 75.56 kB / 0.9345 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.9455, allocations: 20 kB / 0.9345 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008258/0.9463, allocations: 497 kB / 0.935 GB, free: 12.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005242/0.9469, allocations: 372 kB / 0.9353 GB, free: 11.78 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009922/0.9479, allocations: 0.5806 MB / 0.9359 GB, free: 11.19 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.9479, allocations: 0 / 0.9359 GB, free: 11.19 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001212/0.9491, allocations: 0.7232 MB / 0.9366 GB, free: 10.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.9491, allocations: 8 kB / 0.9366 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.9491, allocations: 3.094 kB / 0.9366 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.9491, allocations: 4 kB / 0.9366 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.9496, allocations: 126 kB / 0.9367 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.9497, allocations: 9.5 kB / 0.9367 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007592/0.9504, allocations: 71.78 kB / 0.9368 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.9505, allocations: 23.98 kB / 0.9368 GB, free: 10.23 MB / 0.67 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.000217/0.9507, allocations: 206.5 kB / 0.937 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.9509, allocations: 107.3 kB / 0.9371 GB, free: 9.926 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.9523, allocations: 0.7345 MB / 0.9378 GB, free: 9.184 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.9524, allocations: 11.94 kB / 0.9378 GB, free: 9.172 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.9524, allocations: 4 kB / 0.9379 GB, free: 9.168 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/0.9536, allocations: 0.9026 MB / 0.9387 GB, free: 8.184 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.9572, allocations: 2.238 MB / 0.9409 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.9572, allocations: 4 kB / 0.9409 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.9578, allocations: 139.6 kB / 0.9411 GB, free: 5.707 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.9579, allocations: 8 kB / 0.9411 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.9579, allocations: 20.39 kB / 0.9411 GB, free: 5.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.9579, allocations: 12.81 kB / 0.9411 GB, free: 5.668 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.9579, allocations: 7.5 kB / 0.9411 GB, free: 5.664 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.9599, allocations: 1.26 MB / 0.9423 GB, free: 4.359 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000461/0.9603, allocations: 272.2 kB / 0.9426 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.9605, allocations: 16 kB / 0.9426 GB, free: 4.059 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000632/0.9611, allocations: 44.83 kB / 0.9426 GB, free: 4.016 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.9612, allocations: 51 kB / 0.9427 GB, free: 3.969 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.9613, allocations: 24 kB / 0.9427 GB, free: 3.945 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008106/0.9621, allocations: 0.5823 MB / 0.9433 GB, free: 3.352 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9621, allocations: 0 / 0.9433 GB, free: 3.352 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00132/0.9634, allocations: 0.5419 MB / 0.9438 GB, free: 2.809 MB / 0.67 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.0005138/0.964, allocations: 245.5 kB / 0.9441 GB, free: 2.586 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.9657, allocations: 0.9455 MB / 0.945 GB, free: 1.664 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9657, allocations: 0 / 0.945 GB, free: 1.664 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.9663, allocations: 342.1 kB / 0.9453 GB, free: 1.348 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.9687, allocations: 0.6061 MB / 0.9459 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.9719, allocations: 2.159 MB / 0.948 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.9726, allocations: 1.124 MB / 0.9491 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000976/0.9736, allocations: 300.1 kB / 0.9494 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.9739, allocations: 79.42 kB / 0.9495 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of SimCode: time 4.61e-07/0.9739, allocations: 0 / 0.9495 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of Templates: time 0.03559/1.009, allocations: 20.54 MB / 0.9695 GB, free: 8.895 MB / 0.7012 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)