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.001152/0.001153, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 196.9 kB / 16.79 MB, free: 6.828 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.34 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1687, allocations: 80.93 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.5211/0.6898, allocations: 237.7 MB / 0.8165 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.7015, allocations: 7.254 MB / 0.8236 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.7034, allocations: 51.62 kB / 0.8236 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.7055, allocations: 0.5829 MB / 0.8242 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005541/0.7111, allocations: 1.958 MB / 0.8261 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004926/0.716, allocations: 1.85 MB / 0.8279 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005549/0.7216, allocations: 4.443 MB / 0.8323 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.7232, allocations: 0.9474 MB / 0.8332 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.7271, allocations: 1.591 MB / 0.8347 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.7293, allocations: 0.996 MB / 0.8357 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.7295, allocations: 64 kB / 0.8358 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005329/0.7349, allocations: 2.844 MB / 0.8385 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006394/0.7355, allocations: 394.7 kB / 0.8389 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.7366, allocations: 0.6608 MB / 0.8396 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.7396, allocations: 1.972 MB / 0.8415 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7397, allocations: 0 / 0.8415 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7397, allocations: 0 / 0.8415 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.22e-05/0.7397, allocations: 4 kB / 0.8415 GB, free: 5.879 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.002903/0.7426, allocations: 1.716 MB / 0.8432 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.7427, allocations: 8.031 kB / 0.8432 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.7454, allocations: 418 kB / 0.8436 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.7472, allocations: 0.9677 MB / 0.8445 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.7473, allocations: 66 kB / 0.8446 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.7474, allocations: 84 kB / 0.8447 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.749, allocations: 0.8662 MB / 0.8455 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.749, allocations: 0 / 0.8455 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-05/0.7491, allocations: 28 kB / 0.8455 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/0.7492, allocations: 30 kB / 0.8456 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.7506, allocations: 0.8081 MB / 0.8464 GB, free: 0.7969 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.005061/0.7557, allocations: 3.619 MB / 0.8499 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.7573, allocations: 1.104 MB / 0.851 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/0.7579, allocations: 367.2 kB / 0.8513 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007013/0.7586, allocations: 408.9 kB / 0.8517 GB, free: 10.83 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.7586, allocations: 43.06 kB / 0.8517 GB, free: 10.78 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.504e-06/0.7586, allocations: 4 kB / 0.8518 GB, free: 10.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002141/0.7608, allocations: 0.9545 MB / 0.8527 GB, free: 9.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.7609, allocations: 59.97 kB / 0.8527 GB, free: 9.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.7619, allocations: 0.8361 MB / 0.8536 GB, free: 8.891 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.762, allocations: 37.7 kB / 0.8536 GB, free: 8.848 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.7624, allocations: 488.1 kB / 0.8541 GB, free: 8.363 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.7626, allocations: 208.9 kB / 0.8543 GB, free: 8.156 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.7628, allocations: 118.1 kB / 0.8544 GB, free: 8.035 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.763, allocations: 326 kB / 0.8547 GB, free: 7.711 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.7634, allocations: 255 kB / 0.8549 GB, free: 7.457 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/0.764, allocations: 376.2 kB / 0.8553 GB, free: 7.051 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.7651, allocations: 0.5852 MB / 0.8559 GB, free: 6.453 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.7651, allocations: 7.938 kB / 0.8559 GB, free: 6.445 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001425/0.7665, allocations: 0.732 MB / 0.8566 GB, free: 5.703 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.7665, allocations: 4 kB / 0.8566 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7666, allocations: 0 / 0.8566 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.7666, allocations: 7.938 kB / 0.8566 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.7672, allocations: 132 kB / 0.8567 GB, free: 5.562 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.7672, allocations: 11.88 kB / 0.8567 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.7682, allocations: 115.4 kB / 0.8568 GB, free: 5.438 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.7683, allocations: 20 kB / 0.8569 GB, free: 5.418 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009214/0.7692, allocations: 0.4893 MB / 0.8573 GB, free: 4.926 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005691/0.7698, allocations: 368.3 kB / 0.8577 GB, free: 4.527 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001026/0.7708, allocations: 0.5813 MB / 0.8583 GB, free: 3.934 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.7709, allocations: 4 kB / 0.8583 GB, free: 3.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001349/0.7722, allocations: 0.7202 MB / 0.859 GB, free: 3.199 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7722, allocations: 8 kB / 0.859 GB, free: 3.191 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.7723, allocations: 0 / 0.859 GB, free: 3.191 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.7723, allocations: 4 kB / 0.859 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.7728, allocations: 127.9 kB / 0.8591 GB, free: 3.062 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.7728, allocations: 4 kB / 0.8591 GB, free: 3.059 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009363/0.7738, allocations: 111.5 kB / 0.8592 GB, free: 2.949 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.7738, allocations: 23.98 kB / 0.8592 GB, free: 2.926 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.0002157/0.7741, allocations: 216.1 kB / 0.8594 GB, free: 2.707 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.7742, allocations: 102.8 kB / 0.8595 GB, free: 2.605 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.7757, allocations: 0.7314 MB / 0.8602 GB, free: 1.875 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.7757, allocations: 8 kB / 0.8603 GB, free: 1.867 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7757, allocations: 3.984 kB / 0.8603 GB, free: 1.863 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/0.7769, allocations: 0.9033 MB / 0.8611 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2944/1.071, allocations: 2.236 MB / 0.8633 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.071, allocations: 7 kB / 0.8633 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/1.072, allocations: 139.2 kB / 0.8635 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.072, allocations: 5.969 kB / 0.8635 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/1.072, allocations: 17.56 kB / 0.8635 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/1.072, allocations: 8.094 kB / 0.8635 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.072, allocations: 6.875 kB / 0.8635 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/1.074, allocations: 1.263 MB / 0.8647 GB, free: 222.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/1.074, allocations: 258.3 kB / 0.865 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.075, allocations: 14.53 kB / 0.865 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007858/1.075, allocations: 98.78 kB / 0.8651 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/1.075, allocations: 46.09 kB / 0.8651 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/1.076, allocations: 29.53 kB / 0.8652 GB, free: 222.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007072/1.076, allocations: 0.5888 MB / 0.8657 GB, free: 222.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/1.076, allocations: 0 / 0.8657 GB, free: 222.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001184/1.077, allocations: 0.5273 MB / 0.8662 GB, free: 222.4 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.0005129/1.078, allocations: 245.2 kB / 0.8665 GB, free: 222.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00163/1.08, allocations: 0.9334 MB / 0.8674 GB, free: 222.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.08, allocations: 3.219 kB / 0.8674 GB, free: 222.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005062/1.08, allocations: 340.1 kB / 0.8677 GB, free: 222 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.083, allocations: 0.6269 MB / 0.8683 GB, free: 221.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/1.086, allocations: 2.6 MB / 0.8709 GB, free: 220.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/1.086, allocations: 1.124 MB / 0.872 GB, free: 219.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/1.087, allocations: 84.83 kB / 0.8721 GB, free: 219.6 MB / 0.67 GB Notification: Performance of SimCode: time 6.91e-07/1.087, allocations: 0 / 0.8721 GB, free: 219.6 MB / 0.67 GB Notification: Performance of Templates: time 0.0275/1.114, allocations: 17.25 MB / 0.8889 GB, free: 217.8 MB / 0.67 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)