Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001267/0.001267, allocations: 182.3 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5638/0.5638, allocations: 91.99 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.789/1.789, allocations: 223.2 MB / 354.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 100.2 kB / 427.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 12 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1829, allocations: 72.31 MB / 0.5689 GB, free: 1.949 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.107/5.29, allocations: 1.881 GB / 2.45 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/5.291, allocations: 91.95 kB / 2.45 GB, free: 0.9453 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.596/8.886, allocations: 0.9315 GB / 3.382 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/8.886, allocations: 0 / 3.382 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001113/8.886, allocations: 35.98 kB / 3.382 GB, free: 3.941 MB / 0.6198 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.004144/8.89, allocations: 1.756 MB / 3.383 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/8.891, allocations: 8.031 kB / 3.383 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/8.893, allocations: 417.9 kB / 3.384 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/8.895, allocations: 1.074 MB / 3.385 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/8.895, allocations: 69.98 kB / 3.385 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/8.896, allocations: 87.88 kB / 3.385 GB, free: 464 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/8.897, allocations: 0.8429 MB / 3.386 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/8.897, allocations: 7.984 kB / 3.386 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/8.897, allocations: 28 kB / 3.386 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/8.897, allocations: 30 kB / 3.386 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/8.899, allocations: 0.7964 MB / 3.387 GB, free: 14.74 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.005262/8.904, allocations: 3.678 MB / 3.39 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/8.906, allocations: 1.109 MB / 3.391 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/8.906, allocations: 404.9 kB / 3.392 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/8.906, allocations: 39.12 kB / 3.392 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 4.789e-06/8.906, allocations: 4 kB / 3.392 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.002142/8.908, allocations: 1.013 MB / 3.393 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/8.909, allocations: 59.97 kB / 3.393 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009879/8.91, allocations: 0.7296 MB / 3.394 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/8.91, allocations: 37.7 kB / 3.394 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/8.91, allocations: 484.1 kB / 3.394 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/8.91, allocations: 216.7 kB / 3.394 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/8.91, allocations: 12 kB / 3.394 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001315/8.91, allocations: 322 kB / 3.395 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/8.911, allocations: 269 kB / 3.395 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/8.911, allocations: 403.7 kB / 3.395 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/8.912, allocations: 318 kB / 3.396 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/8.912, allocations: 0 / 3.396 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001379/8.913, allocations: 0.7672 MB / 3.396 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002686/8.914, allocations: 455.2 kB / 3.397 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/8.914, allocations: 0 / 3.397 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/8.914, allocations: 4 kB / 3.397 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/8.914, allocations: 139.7 kB / 3.397 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/8.914, allocations: 7.953 kB / 3.397 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/8.915, allocations: 143.4 kB / 3.397 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/8.916, allocations: 24 kB / 3.397 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/8.916, allocations: 4 kB / 3.397 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/8.917, allocations: 0.6456 MB / 3.398 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/8.917, allocations: 7.984 kB / 3.398 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/8.917, allocations: 4 kB / 3.398 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/8.917, allocations: 127.8 kB / 3.398 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/8.917, allocations: 8.094 kB / 3.398 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/8.918, allocations: 147.3 kB / 3.398 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/8.918, allocations: 20 kB / 3.398 GB, free: 2.586 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007299/8.919, allocations: 384.9 kB / 3.398 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/8.919, allocations: 102.8 kB / 3.398 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/8.921, allocations: 0.8016 MB / 3.399 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/8.921, allocations: 11.94 kB / 3.399 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/8.921, allocations: 4 kB / 3.399 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/8.922, allocations: 0.958 MB / 3.4 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5689/9.491, allocations: 2.254 MB / 3.402 GB, free: 81.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/9.491, allocations: 3.531 kB / 3.402 GB, free: 81.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/9.492, allocations: 152.9 kB / 3.403 GB, free: 81.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.9e-05/9.492, allocations: 8.844 kB / 3.403 GB, free: 81.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/9.492, allocations: 20.16 kB / 3.403 GB, free: 81.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.627e-05/9.492, allocations: 6.5 kB / 3.403 GB, free: 81.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/9.492, allocations: 4.969 kB / 3.403 GB, free: 81.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/9.495, allocations: 1.406 MB / 3.404 GB, free: 80.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008214/9.496, allocations: 262.1 kB / 3.404 GB, free: 80.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/9.496, allocations: 25.75 kB / 3.404 GB, free: 80.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/9.497, allocations: 131.8 kB / 3.404 GB, free: 80.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/9.497, allocations: 43.75 kB / 3.404 GB, free: 80.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/9.497, allocations: 25.25 kB / 3.404 GB, free: 80.58 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001254/9.498, allocations: 0.5774 MB / 3.405 GB, free: 80.47 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/9.498, allocations: 0 / 3.405 GB, free: 80.47 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003656/9.502, allocations: 0.7673 MB / 3.406 GB, free: 80.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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 (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007729/9.51, allocations: 2.327 MB / 3.408 GB, free: 79.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003902/9.514, allocations: 0.9795 MB / 3.409 GB, free: 79.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.88e-05/9.514, allocations: 4.125 kB / 3.409 GB, free: 79.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/9.515, allocations: 351.7 kB / 3.409 GB, free: 79.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004742/9.52, allocations: 0.6743 MB / 3.41 GB, free: 79.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/9.525, allocations: 2.632 MB / 3.413 GB, free: 78.49 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/9.526, allocations: 1.155 MB / 3.414 GB, free: 77.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001843/9.528, allocations: 293.2 kB / 3.414 GB, free: 77.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/9.528, allocations: 86.44 kB / 3.414 GB, free: 77.77 MB / 0.6355 GB Notification: Performance of SimCode: time 2.084e-06/9.528, allocations: 0.9375 kB / 3.414 GB, free: 77.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.08584/9.614, allocations: 46.19 MB / 3.459 GB, free: 76.43 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)