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.0012/0.0012, allocations: 111.9 kB / 16.38 MB, free: 6.484 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.001217/0.001218, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7454/0.7454, allocations: 135.1 MB / 426.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.81 kB / 0.5862 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1485, allocations: 80.91 MB / 0.6652 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5711/0.7197, allocations: 239.9 MB / 0.8995 GB, free: 15.28 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.7313, allocations: 7.2 MB / 0.9065 GB, free: 8.074 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.7331, allocations: 51.69 kB / 0.9066 GB, free: 8.023 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.7349, allocations: 0.6949 MB / 0.9072 GB, free: 7.324 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005008/0.74, allocations: 2.073 MB / 0.9093 GB, free: 5.242 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.7448, allocations: 2.031 MB / 0.9112 GB, free: 3.223 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004306/0.7491, allocations: 3.265 MB / 0.9144 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.7506, allocations: 1.142 MB / 0.9156 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.7543, allocations: 1.786 MB / 0.9173 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.7561, allocations: 0.9783 MB / 0.9183 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.7563, allocations: 124 kB / 0.9184 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00449/0.7608, allocations: 2.486 MB / 0.9208 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004712/0.7613, allocations: 458.7 kB / 0.9212 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008126/0.7621, allocations: 0.7155 MB / 0.9219 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.7662, allocations: 2.696 MB / 0.9246 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7662, allocations: 0 / 0.9246 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7663, allocations: 0 / 0.9246 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.956e-05/0.7663, allocations: 0 / 0.9246 GB, free: 5.523 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.002713/0.769, allocations: 1.709 MB / 0.9262 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.769, allocations: 13.11 kB / 0.9262 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.7715, allocations: 422.8 kB / 0.9267 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.7732, allocations: 1.022 MB / 0.9276 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.7732, allocations: 66 kB / 0.9277 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.7734, allocations: 80 kB / 0.9278 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.7748, allocations: 0.8624 MB / 0.9286 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.7749, allocations: 4 kB / 0.9286 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.7749, allocations: 28 kB / 0.9287 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.775, allocations: 33.94 kB / 0.9287 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.7764, allocations: 0.8081 MB / 0.9295 GB, free: 392 kB / 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.004645/0.7811, allocations: 3.64 MB / 0.933 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.7825, allocations: 1.086 MB / 0.9341 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.7831, allocations: 378.3 kB / 0.9345 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/0.7838, allocations: 404.9 kB / 0.9348 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.7838, allocations: 43.11 kB / 0.9349 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/0.7838, allocations: 0 / 0.9349 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.002025/0.7859, allocations: 0.9623 MB / 0.9358 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.7859, allocations: 59.97 kB / 0.9359 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.787, allocations: 0.8322 MB / 0.9367 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.787, allocations: 45.7 kB / 0.9367 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.7874, allocations: 480.1 kB / 0.9372 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.7876, allocations: 208.9 kB / 0.9374 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.7878, allocations: 118.1 kB / 0.9375 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7879, allocations: 322 kB / 0.9378 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.7884, allocations: 259 kB / 0.9381 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.789, allocations: 372.3 kB / 0.9384 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.7899, allocations: 0.5967 MB / 0.939 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.79, allocations: 4 kB / 0.939 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00126/0.7912, allocations: 0.7288 MB / 0.9397 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7913, allocations: 8 kB / 0.9397 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.7913, allocations: 1.562 kB / 0.9397 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7913, allocations: 4 kB / 0.9397 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.7919, allocations: 123.9 kB / 0.9398 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.7919, allocations: 11.98 kB / 0.9399 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.7926, allocations: 67.5 kB / 0.9399 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.7927, allocations: 27.98 kB / 0.94 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007686/0.7934, allocations: 497 kB / 0.9404 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005371/0.794, allocations: 372.2 kB / 0.9408 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009343/0.7949, allocations: 0.5774 MB / 0.9413 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.7949, allocations: 0 / 0.9413 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001199/0.7961, allocations: 0.7281 MB / 0.9421 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.7961, allocations: 4 kB / 0.9421 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.7962, allocations: 4 kB / 0.9421 GB, free: 2.812 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.7962, allocations: 4 kB / 0.9421 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.7967, allocations: 123.9 kB / 0.9422 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.7967, allocations: 7.938 kB / 0.9422 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006714/0.7974, allocations: 67.64 kB / 0.9423 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.7975, allocations: 24 kB / 0.9423 GB, free: 2.59 MB / 0.7012 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.0001817/0.7976, allocations: 212.1 kB / 0.9425 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.7978, allocations: 98.78 kB / 0.9426 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.7992, allocations: 0.7444 MB / 0.9433 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.7992, allocations: 4 kB / 0.9433 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7992, allocations: 4 kB / 0.9433 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/0.8004, allocations: 0.8994 MB / 0.9442 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.8038, allocations: 2.243 MB / 0.9464 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.8039, allocations: 7.984 kB / 0.9464 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.8045, allocations: 136.3 kB / 0.9465 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/0.8045, allocations: 8 kB / 0.9465 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.8046, allocations: 16 kB / 0.9465 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.011e-05/0.8046, allocations: 11.94 kB / 0.9466 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.8046, allocations: 4 kB / 0.9466 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.8065, allocations: 1.261 MB / 0.9478 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.8069, allocations: 255.7 kB / 0.948 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.807, allocations: 19.98 kB / 0.948 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.8076, allocations: 47.86 kB / 0.9481 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.8078, allocations: 48.27 kB / 0.9481 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/0.8078, allocations: 27.98 kB / 0.9482 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007646/0.8086, allocations: 0.5862 MB / 0.9487 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.352e-06/0.8086, allocations: 3.938 kB / 0.9487 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001188/0.8098, allocations: 0.5338 MB / 0.9493 GB, free: 11.11 MB / 0.7169 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.0004807/0.8103, allocations: 240.1 kB / 0.9495 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.812, allocations: 0.9466 MB / 0.9504 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.812, allocations: 0 / 0.9504 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.8125, allocations: 347.5 kB / 0.9507 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.8149, allocations: 0.5973 MB / 0.9513 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.8178, allocations: 2.176 MB / 0.9535 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.8185, allocations: 1.116 MB / 0.9545 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.8188, allocations: 91.42 kB / 0.9546 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.8188, allocations: 0 / 0.9546 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.02302/0.8418, allocations: 17.08 MB / 0.9713 GB, free: 4.574 MB / 0.7325 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)