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.009678/0.009688, allocations: 103.8 kB / 15.73 MB, free: 6.473 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.001584/0.001584, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9974/0.9974, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 67.89 kB / 0.5856 GB, free: 3.395 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5092, 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.7615/1.271, allocations: 239.9 MB / 0.8989 GB, free: 19.71 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01212/1.283, allocations: 7.203 MB / 0.9059 GB, free: 19.61 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/1.285, allocations: 54.47 kB / 0.9059 GB, free: 19.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/1.287, allocations: 0.712 MB / 0.9066 GB, free: 19.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006023/1.293, allocations: 2.168 MB / 0.9088 GB, free: 19.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006024/1.299, allocations: 2.056 MB / 0.9108 GB, free: 19.46 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005852/1.305, allocations: 3.28 MB / 0.914 GB, free: 19.45 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/1.308, allocations: 1.145 MB / 0.9151 GB, free: 19.33 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005293/1.313, allocations: 1.853 MB / 0.9169 GB, free: 19.31 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/1.316, allocations: 0.9749 MB / 0.9178 GB, free: 19.3 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006056/1.317, allocations: 120.7 kB / 0.918 GB, free: 19.3 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007168/1.324, allocations: 2.497 MB / 0.9204 GB, free: 19.28 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/1.325, allocations: 463.5 kB / 0.9208 GB, free: 19.27 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002821/1.328, allocations: 0.7182 MB / 0.9215 GB, free: 19.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008725/1.337, allocations: 2.697 MB / 0.9242 GB, free: 18.85 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/1.337, allocations: 0.875 kB / 0.9242 GB, free: 18.85 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.665e-06/1.337, allocations: 3.094 kB / 0.9242 GB, free: 18.85 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001241/1.337, allocations: 0 / 0.9242 GB, free: 18.85 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.005654/1.342, allocations: 1.709 MB / 0.9259 GB, free: 17.95 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.342, allocations: 10.78 kB / 0.9259 GB, free: 17.95 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/1.345, allocations: 419.7 kB / 0.9263 GB, free: 17.88 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/1.348, allocations: 1.023 MB / 0.9273 GB, free: 17.52 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/1.348, allocations: 57.69 kB / 0.9273 GB, free: 17.52 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/1.348, allocations: 87.19 kB / 0.9274 GB, free: 17.52 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/1.35, allocations: 0.8662 MB / 0.9282 GB, free: 17.46 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/1.35, allocations: 0.8438 kB / 0.9282 GB, free: 17.46 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/1.35, allocations: 36.69 kB / 0.9283 GB, free: 17.46 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/1.35, allocations: 28.72 kB / 0.9283 GB, free: 17.46 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/1.352, allocations: 0.8054 MB / 0.9291 GB, free: 17.45 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.00491/1.357, allocations: 3.641 MB / 0.9326 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/1.358, allocations: 1.089 MB / 0.9337 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/1.358, allocations: 368.4 kB / 0.9341 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000612/1.359, allocations: 407 kB / 0.9345 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/1.359, allocations: 41.66 kB / 0.9345 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.434e-06/1.359, allocations: 0.7812 kB / 0.9345 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.00194/1.361, allocations: 0.9579 MB / 0.9354 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/1.361, allocations: 58.72 kB / 0.9355 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/1.362, allocations: 0.8427 MB / 0.9363 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/1.362, allocations: 36.36 kB / 0.9363 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/1.362, allocations: 479.9 kB / 0.9368 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/1.363, allocations: 215.9 kB / 0.937 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/1.363, allocations: 112.2 kB / 0.9371 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.545e-05/1.363, allocations: 328.9 kB / 0.9374 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/1.363, allocations: 256.3 kB / 0.9377 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/1.364, allocations: 370.5 kB / 0.938 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009272/1.365, allocations: 0.5899 MB / 0.9386 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.365, allocations: 0 / 0.9386 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001216/1.366, allocations: 0.7344 MB / 0.9393 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.366, allocations: 4.75 kB / 0.9393 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.366, allocations: 8.094 kB / 0.9393 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.366, allocations: 5.031 kB / 0.9393 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/1.367, allocations: 124.7 kB / 0.9395 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.367, allocations: 9.156 kB / 0.9395 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007389/1.367, allocations: 74.8 kB / 0.9395 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/1.367, allocations: 23.38 kB / 0.9396 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007156/1.368, allocations: 496.5 kB / 0.94 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004704/1.369, allocations: 368.2 kB / 0.9404 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008317/1.369, allocations: 0.58 MB / 0.9409 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.103e-06/1.369, allocations: 0 / 0.9409 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001073/1.371, allocations: 0.7189 MB / 0.9416 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/1.371, allocations: 6.031 kB / 0.9417 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/1.371, allocations: 2.562 kB / 0.9417 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/1.371, allocations: 3.281 kB / 0.9417 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/1.371, allocations: 129.1 kB / 0.9418 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.371, allocations: 7.531 kB / 0.9418 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006717/1.372, allocations: 78.16 kB / 0.9419 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/1.372, allocations: 23.11 kB / 0.9419 GB, free: 13.18 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.0001649/1.372, allocations: 218.6 kB / 0.9421 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/1.372, allocations: 100.9 kB / 0.9422 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/1.373, allocations: 0.7347 MB / 0.9429 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.373, allocations: 6.531 kB / 0.9429 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.373, allocations: 3.938 kB / 0.9429 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009938/1.374, allocations: 0.9008 MB / 0.9438 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/1.378, allocations: 2.243 MB / 0.946 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.378, allocations: 3.906 kB / 0.946 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/1.378, allocations: 136.9 kB / 0.9461 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.378, allocations: 7.156 kB / 0.9461 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/1.378, allocations: 17.42 kB / 0.9461 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/1.378, allocations: 10.98 kB / 0.9462 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.378, allocations: 7.594 kB / 0.9462 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/1.38, allocations: 1.258 MB / 0.9474 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/1.38, allocations: 257.7 kB / 0.9476 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.38, allocations: 21 kB / 0.9477 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/1.381, allocations: 39.81 kB / 0.9477 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.381, allocations: 50.42 kB / 0.9477 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/1.381, allocations: 27.14 kB / 0.9478 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007131/1.382, allocations: 0.5847 MB / 0.9483 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.382, allocations: 0 / 0.9483 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001303/1.383, allocations: 0.5432 MB / 0.9489 GB, free: 10.32 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.0005456/1.384, allocations: 248.8 kB / 0.9491 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001694/1.386, allocations: 0.942 MB / 0.95 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.386, allocations: 2.531 kB / 0.95 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/1.386, allocations: 346 kB / 0.9504 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/1.388, allocations: 0.5885 MB / 0.9509 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/1.391, allocations: 2.124 MB / 0.953 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/1.392, allocations: 1.123 MB / 0.9541 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009165/1.393, allocations: 302.1 kB / 0.9544 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/1.393, allocations: 77.34 kB / 0.9545 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of SimCode: time 7.71e-07/1.393, allocations: 2.5 kB / 0.9545 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of Templates: time 0.03777/1.431, allocations: 20.55 MB / 0.9745 GB, free: 4.688 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)