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.001533/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002139/0.002139, allocations: 197.5 kB / 16.14 MB, free: 6.656 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 / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7971/0.7971, allocations: 132.2 MB / 422.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 60.34 kB / 0.5011 GB, free: 9.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2016, allocations: 80.21 MB / 0.5794 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6588/0.8605, allocations: 237.7 MB / 0.8116 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.8721, allocations: 7.281 MB / 0.8187 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.8745, allocations: 47.69 kB / 0.8187 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.877, allocations: 0.575 MB / 0.8193 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.8832, allocations: 1.961 MB / 0.8212 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005723/0.8889, allocations: 1.847 MB / 0.823 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007258/0.8962, allocations: 4.439 MB / 0.8273 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00236/0.8986, allocations: 0.9474 MB / 0.8283 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/0.904, allocations: 1.587 MB / 0.8298 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.9066, allocations: 0.9977 MB / 0.8308 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004546/0.9071, allocations: 63.94 kB / 0.8309 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006264/0.9134, allocations: 2.837 MB / 0.8336 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006446/0.9141, allocations: 402.7 kB / 0.834 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.9156, allocations: 0.6607 MB / 0.8347 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005517/0.9211, allocations: 2.777 MB / 0.8374 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.9212, allocations: 4 kB / 0.8374 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9212, allocations: 4 kB / 0.8374 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.174e-05/0.9212, allocations: 0 / 0.8374 GB, free: 11.06 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.00392/0.9252, allocations: 1.703 MB / 0.839 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.9252, allocations: 8.031 kB / 0.839 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.9283, allocations: 434 kB / 0.8395 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.9304, allocations: 0.956 MB / 0.8404 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/0.9305, allocations: 69.98 kB / 0.8405 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.9307, allocations: 83.94 kB / 0.8405 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.9325, allocations: 0.8624 MB / 0.8414 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.9325, allocations: 0 / 0.8414 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.9326, allocations: 36 kB / 0.8414 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/0.9326, allocations: 26 kB / 0.8414 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.9342, allocations: 0.8042 MB / 0.8422 GB, free: 5.988 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.005233/0.9395, allocations: 3.631 MB / 0.8458 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.941, allocations: 1.092 MB / 0.8468 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/0.9416, allocations: 368.2 kB / 0.8472 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/0.9423, allocations: 408.9 kB / 0.8476 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.9424, allocations: 47.06 kB / 0.8476 GB, free: 15.96 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 1.944e-06/0.9424, allocations: 0 / 0.8476 GB, free: 15.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002115/0.9445, allocations: 0.9584 MB / 0.8486 GB, free: 15 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.9446, allocations: 59.97 kB / 0.8486 GB, free: 14.93 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.9457, allocations: 0.8282 MB / 0.8494 GB, free: 14.08 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/0.9458, allocations: 41.7 kB / 0.8495 GB, free: 14.04 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.9461, allocations: 488.1 kB / 0.8499 GB, free: 13.55 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.9463, allocations: 204.9 kB / 0.8501 GB, free: 13.35 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.9465, allocations: 122.1 kB / 0.8502 GB, free: 13.22 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9466, allocations: 330 kB / 0.8506 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.9472, allocations: 247 kB / 0.8508 GB, free: 12.65 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.9478, allocations: 376.2 kB / 0.8512 GB, free: 12.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.9489, allocations: 0.5891 MB / 0.8517 GB, free: 11.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9489, allocations: 3.938 kB / 0.8517 GB, free: 11.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001379/0.9503, allocations: 0.7359 MB / 0.8525 GB, free: 10.89 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.9503, allocations: 7.938 kB / 0.8525 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.9503, allocations: 4 kB / 0.8525 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.9503, allocations: 4 kB / 0.8525 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.9509, allocations: 127.8 kB / 0.8526 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.9509, allocations: 4 kB / 0.8526 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009711/0.9519, allocations: 119.5 kB / 0.8527 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.952, allocations: 23.94 kB / 0.8527 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008289/0.9528, allocations: 497 kB / 0.8532 GB, free: 10.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005924/0.9534, allocations: 364.3 kB / 0.8536 GB, free: 9.727 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001085/0.9545, allocations: 0.5852 MB / 0.8541 GB, free: 9.129 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.9545, allocations: 0 / 0.8541 GB, free: 9.129 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001372/0.9559, allocations: 0.7281 MB / 0.8548 GB, free: 8.391 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.9559, allocations: 4 kB / 0.8548 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.9559, allocations: 0 / 0.8548 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.9559, allocations: 4 kB / 0.8548 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/0.9565, allocations: 127.8 kB / 0.855 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.9565, allocations: 4 kB / 0.855 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.9576, allocations: 111.6 kB / 0.8551 GB, free: 8.145 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.9576, allocations: 23.98 kB / 0.8551 GB, free: 8.121 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.000195/0.9578, allocations: 216.1 kB / 0.8553 GB, free: 7.902 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.958, allocations: 102.8 kB / 0.8554 GB, free: 7.801 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.9594, allocations: 0.7452 MB / 0.8561 GB, free: 7.055 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.9595, allocations: 4 kB / 0.8561 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.9595, allocations: 0 / 0.8561 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/0.9607, allocations: 0.9033 MB / 0.857 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/0.9644, allocations: 2.24 MB / 0.8592 GB, free: 3.684 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.9644, allocations: 4.406 kB / 0.8592 GB, free: 3.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006965/0.9651, allocations: 143.8 kB / 0.8593 GB, free: 3.539 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.9651, allocations: 7.938 kB / 0.8593 GB, free: 3.531 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/0.9652, allocations: 19.98 kB / 0.8594 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/0.9652, allocations: 8 kB / 0.8594 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.9652, allocations: 3.938 kB / 0.8594 GB, free: 3.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.9673, allocations: 1.26 MB / 0.8606 GB, free: 2.18 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/0.9678, allocations: 259.7 kB / 0.8609 GB, free: 1.906 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.9679, allocations: 16 kB / 0.8609 GB, free: 1.891 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009014/0.9688, allocations: 95.03 kB / 0.861 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.969, allocations: 52.31 kB / 0.861 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.969, allocations: 32.11 kB / 0.861 GB, free: 1.719 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008349/0.9699, allocations: 0.5823 MB / 0.8616 GB, free: 1.125 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9699, allocations: 3.938 kB / 0.8616 GB, free: 1.121 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001448/0.9713, allocations: 0.5299 MB / 0.8621 GB, free: 0.5898 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.0005747/0.9719, allocations: 245.8 kB / 0.8624 GB, free: 364 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2753/1.247, allocations: 0.9344 MB / 0.8633 GB, free: 227.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.247, allocations: 0 / 0.8633 GB, free: 227.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006466/1.248, allocations: 345.3 kB / 0.8636 GB, free: 227.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/1.251, allocations: 0.6134 MB / 0.8642 GB, free: 227.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/1.254, allocations: 2.537 MB / 0.8667 GB, free: 226.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/1.255, allocations: 1.125 MB / 0.8678 GB, free: 225.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009996/1.256, allocations: 299.8 kB / 0.8681 GB, free: 225.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/1.256, allocations: 80.11 kB / 0.8681 GB, free: 225.5 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/1.256, allocations: 4 kB / 0.8682 GB, free: 225.5 MB / 0.67 GB Notification: Performance of Templates: time 0.03158/1.287, allocations: 19.8 MB / 0.8875 GB, free: 224.3 MB / 0.67 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)