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.001282/0.001283, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001544/0.001544, allocations: 193.3 kB / 16.13 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9788/0.9788, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 65.05 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2102, allocations: 80.92 MB / 0.5837 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6032/0.8135, allocations: 237.7 MB / 0.8158 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.8262, allocations: 7.281 MB / 0.823 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.8284, allocations: 47.69 kB / 0.823 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.8304, allocations: 0.5789 MB / 0.8236 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00593/0.8363, allocations: 1.948 MB / 0.8255 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005214/0.8415, allocations: 1.858 MB / 0.8273 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005672/0.8472, allocations: 4.437 MB / 0.8316 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.8487, allocations: 0.9513 MB / 0.8325 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/0.8527, allocations: 1.587 MB / 0.8341 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.8545, allocations: 0.9927 MB / 0.8351 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.8547, allocations: 63.94 kB / 0.8351 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/0.8598, allocations: 2.844 MB / 0.8379 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005044/0.8603, allocations: 402.7 kB / 0.8383 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009227/0.8612, allocations: 0.6608 MB / 0.8389 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.8655, allocations: 2.773 MB / 0.8416 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8655, allocations: 0 / 0.8416 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8656, allocations: 0 / 0.8416 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.8656, allocations: 0 / 0.8416 GB, free: 5.09 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.002931/0.8685, allocations: 1.711 MB / 0.8433 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.8686, allocations: 8.031 kB / 0.8433 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/0.8714, allocations: 418 kB / 0.8437 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.8731, allocations: 0.9716 MB / 0.8447 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-05/0.8732, allocations: 62 kB / 0.8447 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.8734, allocations: 84 kB / 0.8448 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.875, allocations: 0.8623 MB / 0.8457 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.875, allocations: 4 kB / 0.8457 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.269e-05/0.8751, allocations: 28 kB / 0.8457 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.8752, allocations: 30 kB / 0.8457 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.8767, allocations: 0.8042 MB / 0.8465 GB, free: 16 kB / 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.004654/0.8813, allocations: 3.623 MB / 0.85 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.8828, allocations: 1.1 MB / 0.8511 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000609/0.8835, allocations: 371.2 kB / 0.8515 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007162/0.8842, allocations: 404.9 kB / 0.8519 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.8842, allocations: 43.12 kB / 0.8519 GB, free: 9.996 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.244e-06/0.8842, allocations: 0 / 0.8519 GB, free: 9.996 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002186/0.8864, allocations: 0.9622 MB / 0.8528 GB, free: 9.031 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.8865, allocations: 55.97 kB / 0.8529 GB, free: 8.965 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.8876, allocations: 0.84 MB / 0.8537 GB, free: 8.102 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/0.8876, allocations: 41.7 kB / 0.8537 GB, free: 8.055 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.888, allocations: 476.1 kB / 0.8542 GB, free: 7.582 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.8882, allocations: 216.9 kB / 0.8544 GB, free: 7.367 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.8884, allocations: 114.2 kB / 0.8545 GB, free: 7.25 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8885, allocations: 330 kB / 0.8548 GB, free: 6.922 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.889, allocations: 251 kB / 0.8551 GB, free: 6.672 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.8896, allocations: 380.2 kB / 0.8554 GB, free: 6.262 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.8907, allocations: 0.5852 MB / 0.856 GB, free: 5.664 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.8907, allocations: 3.938 kB / 0.856 GB, free: 5.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001349/0.8921, allocations: 0.7282 MB / 0.8567 GB, free: 4.922 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.8921, allocations: 6.5 kB / 0.8567 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.8921, allocations: 12.05 kB / 0.8567 GB, free: 4.906 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8921, allocations: 4 kB / 0.8567 GB, free: 4.902 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.8927, allocations: 127.8 kB / 0.8569 GB, free: 4.777 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.8928, allocations: 4 kB / 0.8569 GB, free: 4.773 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009281/0.8937, allocations: 115.4 kB / 0.857 GB, free: 4.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/0.8938, allocations: 31.94 kB / 0.857 GB, free: 4.629 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008396/0.8946, allocations: 497 kB / 0.8575 GB, free: 4.141 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005969/0.8952, allocations: 368.2 kB / 0.8578 GB, free: 3.742 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001047/0.8963, allocations: 0.5852 MB / 0.8584 GB, free: 3.145 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.8963, allocations: 0.5469 kB / 0.8584 GB, free: 3.145 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001312/0.8976, allocations: 0.7202 MB / 0.8591 GB, free: 2.414 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.8976, allocations: 8 kB / 0.8591 GB, free: 2.406 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.8976, allocations: 4.125 kB / 0.8591 GB, free: 2.402 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.8977, allocations: 7.984 kB / 0.8591 GB, free: 2.395 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.8982, allocations: 123.8 kB / 0.8592 GB, free: 2.273 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8982, allocations: 5.875 kB / 0.8592 GB, free: 2.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/0.8991, allocations: 119.5 kB / 0.8594 GB, free: 2.152 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.8992, allocations: 20 kB / 0.8594 GB, free: 2.133 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.0002048/0.8994, allocations: 216.1 kB / 0.8596 GB, free: 1.914 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.8996, allocations: 102.8 kB / 0.8597 GB, free: 1.812 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.901, allocations: 0.7353 MB / 0.8604 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.901, allocations: 8 kB / 0.8604 GB, free: 1.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.901, allocations: 0 / 0.8604 GB, free: 1.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/0.9022, allocations: 0.9033 MB / 0.8613 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.343/1.245, allocations: 2.232 MB / 0.8635 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.245, allocations: 3.969 kB / 0.8635 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/1.246, allocations: 141.3 kB / 0.8636 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.246, allocations: 5.812 kB / 0.8636 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/1.246, allocations: 20.56 kB / 0.8636 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/1.246, allocations: 9.031 kB / 0.8636 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.246, allocations: 5.406 kB / 0.8637 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/1.248, allocations: 1.257 MB / 0.8649 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/1.248, allocations: 257.8 kB / 0.8651 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.248, allocations: 18.86 kB / 0.8651 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008245/1.249, allocations: 95.73 kB / 0.8652 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.249, allocations: 53.44 kB / 0.8653 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/1.249, allocations: 28.11 kB / 0.8653 GB, free: 222.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006682/1.25, allocations: 0.5847 MB / 0.8659 GB, free: 222.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.25, allocations: 0 / 0.8659 GB, free: 222.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001277/1.251, allocations: 0.5342 MB / 0.8664 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.0005215/1.252, allocations: 236.2 kB / 0.8666 GB, free: 222.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001661/1.253, allocations: 0.9398 MB / 0.8675 GB, free: 222 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.253, allocations: 6 kB / 0.8676 GB, free: 222 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/1.254, allocations: 335.6 kB / 0.8679 GB, free: 221.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/1.257, allocations: 0.6268 MB / 0.8685 GB, free: 221.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/1.259, allocations: 2.536 MB / 0.871 GB, free: 220.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/1.26, allocations: 1.123 MB / 0.8721 GB, free: 219.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009819/1.261, allocations: 298.7 kB / 0.8723 GB, free: 219.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/1.261, allocations: 81.53 kB / 0.8724 GB, free: 219.5 MB / 0.67 GB Notification: Performance of SimCode: time 9.61e-07/1.261, allocations: 0 / 0.8724 GB, free: 219.5 MB / 0.67 GB Notification: Performance of Templates: time 0.03696/1.298, allocations: 19.8 MB / 0.8918 GB, free: 218.3 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)