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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8052/0.8052, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 404.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 99.12 kB / 485.9 MB, free: 7.242 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 55.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.147, allocations: 80.42 MB / 0.6421 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6491/0.7961, allocations: 237.7 MB / 0.8743 GB, free: 3.246 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.8072, allocations: 7.281 MB / 0.8814 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.809, allocations: 51.62 kB / 0.8814 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.8108, allocations: 0.5789 MB / 0.882 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005255/0.8161, allocations: 1.958 MB / 0.8839 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.8208, allocations: 1.855 MB / 0.8857 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005615/0.8265, allocations: 4.445 MB / 0.8901 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.8278, allocations: 0.9435 MB / 0.891 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.8316, allocations: 1.611 MB / 0.8926 GB, free: 484 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.8336, allocations: 0.9838 MB / 0.8935 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.8338, allocations: 64 kB / 0.8936 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005538/0.8394, allocations: 2.844 MB / 0.8964 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005335/0.8399, allocations: 410.6 kB / 0.8968 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009113/0.8408, allocations: 0.6569 MB / 0.8974 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004944/0.8458, allocations: 2.765 MB / 0.9001 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.8458, allocations: 4 kB / 0.9001 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.52e-07/0.8458, allocations: 0 / 0.9001 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.8459, allocations: 0 / 0.9001 GB, free: 8.734 MB / 0.6355 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.002987/0.8489, allocations: 1.709 MB / 0.9018 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.116e-05/0.8489, allocations: 12.03 kB / 0.9018 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.8514, allocations: 418 kB / 0.9022 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.8531, allocations: 0.9638 MB / 0.9031 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.8532, allocations: 62 kB / 0.9032 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.8534, allocations: 87.94 kB / 0.9033 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.8549, allocations: 0.8702 MB / 0.9041 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.8549, allocations: 0 / 0.9041 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.855, allocations: 32 kB / 0.9041 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.855, allocations: 33.92 kB / 0.9042 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.8565, allocations: 0.8041 MB / 0.905 GB, free: 3.648 MB / 0.6355 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.004817/0.8613, allocations: 3.623 MB / 0.9085 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.8628, allocations: 1.093 MB / 0.9096 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005987/0.8634, allocations: 374.9 kB / 0.9099 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006942/0.8641, allocations: 404.8 kB / 0.9103 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.8642, allocations: 43.12 kB / 0.9104 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 2.965e-06/0.8642, allocations: 0 / 0.9104 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.002147/0.8663, allocations: 0.9622 MB / 0.9113 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.8664, allocations: 59.97 kB / 0.9114 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.8675, allocations: 0.836 MB / 0.9122 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.8675, allocations: 37.7 kB / 0.9122 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.8679, allocations: 488.1 kB / 0.9127 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.8681, allocations: 212.9 kB / 0.9129 GB, free: 11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.8683, allocations: 114.2 kB / 0.913 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8684, allocations: 326 kB / 0.9133 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.869, allocations: 258.9 kB / 0.9135 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.8696, allocations: 368.3 kB / 0.9139 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.8706, allocations: 0.593 MB / 0.9145 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.8706, allocations: 3.938 kB / 0.9145 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001335/0.872, allocations: 0.736 MB / 0.9152 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.872, allocations: 4 kB / 0.9152 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.872, allocations: 4 kB / 0.9152 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.872, allocations: 4 kB / 0.9152 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.8726, allocations: 123.8 kB / 0.9153 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.8726, allocations: 4 kB / 0.9153 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/0.8736, allocations: 115.6 kB / 0.9154 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.8737, allocations: 23.98 kB / 0.9155 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008214/0.8745, allocations: 0.4893 MB / 0.9159 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005705/0.8751, allocations: 364.2 kB / 0.9163 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009974/0.8761, allocations: 0.5813 MB / 0.9169 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.8761, allocations: 0 / 0.9169 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00127/0.8774, allocations: 0.728 MB / 0.9176 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.8774, allocations: 4.938 kB / 0.9176 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.8774, allocations: 0 / 0.9176 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.8774, allocations: 4 kB / 0.9176 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.878, allocations: 127.9 kB / 0.9177 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.878, allocations: 7.875 kB / 0.9177 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/0.8788, allocations: 115.6 kB / 0.9178 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.8789, allocations: 20 kB / 0.9178 GB, free: 5.781 MB / 0.6511 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.0001976/0.8791, allocations: 213.5 kB / 0.918 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.8793, allocations: 98.78 kB / 0.9181 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.8807, allocations: 0.7573 MB / 0.9189 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.8807, allocations: 4 kB / 0.9189 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.8807, allocations: 0 / 0.9189 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/0.8819, allocations: 0.9034 MB / 0.9198 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/0.8854, allocations: 2.248 MB / 0.9219 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.8854, allocations: 4 kB / 0.922 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.886, allocations: 135.9 kB / 0.9221 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.886, allocations: 4 kB / 0.9221 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.8861, allocations: 16 kB / 0.9221 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.8861, allocations: 11.94 kB / 0.9221 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/0.8861, allocations: 4 kB / 0.9221 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0311/0.9172, allocations: 8.326 MB / 0.9302 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007295/0.918, allocations: 267.6 kB / 0.9305 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.9182, allocations: 19.94 kB / 0.9305 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.9197, allocations: 98.42 kB / 0.9306 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.9199, allocations: 44.33 kB / 0.9307 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.372e-05/0.92, allocations: 23.98 kB / 0.9307 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001472/0.9215, allocations: 0.5823 MB / 0.9312 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9215, allocations: 0 / 0.9312 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005538/0.927, allocations: 0.9088 MB / 0.9321 GB, free: 6.629 MB / 0.6667 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.0008271/0.9279, allocations: 253.9 kB / 0.9324 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003177/0.9311, allocations: 0.931 MB / 0.9333 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9311, allocations: 0 / 0.9333 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.9322, allocations: 343.5 kB / 0.9336 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/0.9379, allocations: 0.6304 MB / 0.9342 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/0.9447, allocations: 2.93 MB / 0.9371 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.9459, allocations: 1.14 MB / 0.9382 GB, free: 320 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002611/0.9485, allocations: 316.1 kB / 0.9385 GB, free: 0 / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005948/0.9491, allocations: 87.42 kB / 0.9386 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.363e-06/0.9492, allocations: 4 kB / 0.9386 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.3548/1.304, allocations: 23.57 MB / 0.9616 GB, free: 254.6 MB / 0.6823 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)