Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8547/0.8547, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 176.8 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009452/0.0009452, allocations: 97.55 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001645/0.001645, allocations: 265.4 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.572e-05, allocations: 0 / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4151, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.12/4.535, allocations: 1.887 GB / 2.645 GB, free: 171.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/4.535, allocations: 91.83 kB / 2.645 GB, free: 171.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.105/7.64, allocations: 0.9186 GB / 3.563 GB, free: 34.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.492e-06/7.64, allocations: 3.5 kB / 3.563 GB, free: 34.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000109/7.64, allocations: 35.98 kB / 3.563 GB, free: 34.23 MB / 0.698 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.003205/7.643, allocations: 1.523 MB / 3.565 GB, free: 32.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/7.644, allocations: 12.03 kB / 3.565 GB, free: 32.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/7.646, allocations: 410 kB / 3.565 GB, free: 32.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/7.649, allocations: 1.055 MB / 3.566 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/7.649, allocations: 27.98 kB / 3.566 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/7.649, allocations: 59.95 kB / 3.566 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/7.65, allocations: 0.6756 MB / 3.567 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/7.651, allocations: 0.6829 MB / 3.568 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/7.652, allocations: 0 / 3.568 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/7.652, allocations: 4 kB / 3.568 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/7.652, allocations: 33.98 kB / 3.568 GB, free: 29.66 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.004054/7.656, allocations: 3.495 MB / 3.571 GB, free: 25.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/7.657, allocations: 1.045 MB / 3.572 GB, free: 24.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/7.657, allocations: 326.5 kB / 3.573 GB, free: 24.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/7.658, allocations: 400.9 kB / 3.573 GB, free: 23.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/7.658, allocations: 43.06 kB / 3.573 GB, free: 23.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.354e-06/7.658, allocations: 0 / 3.573 GB, free: 23.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001483/7.659, allocations: 0.7164 MB / 3.574 GB, free: 23.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/7.659, allocations: 59.97 kB / 3.574 GB, free: 23.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/7.66, allocations: 0.5908 MB / 3.574 GB, free: 22.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/7.66, allocations: 25.7 kB / 3.574 GB, free: 22.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/7.66, allocations: 488 kB / 3.575 GB, free: 21.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/7.66, allocations: 204.8 kB / 3.575 GB, free: 21.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/7.66, allocations: 0 / 3.575 GB, free: 21.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/7.66, allocations: 337.8 kB / 3.575 GB, free: 21.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/7.661, allocations: 213.1 kB / 3.576 GB, free: 21.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/7.661, allocations: 363.5 kB / 3.576 GB, free: 20.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/7.662, allocations: 341.9 kB / 3.576 GB, free: 20.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/7.662, allocations: 0 / 3.576 GB, free: 20.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001039/7.663, allocations: 0.7233 MB / 3.577 GB, free: 19.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/7.663, allocations: 447.3 kB / 3.577 GB, free: 19.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/7.663, allocations: 11.98 kB / 3.577 GB, free: 19.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/7.663, allocations: 4 kB / 3.577 GB, free: 19.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/7.663, allocations: 135.8 kB / 3.577 GB, free: 19.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/7.663, allocations: 4 kB / 3.577 GB, free: 19.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/7.664, allocations: 103.5 kB / 3.578 GB, free: 19.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/7.664, allocations: 27.98 kB / 3.578 GB, free: 19.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/7.664, allocations: 5.25 kB / 3.578 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009161/7.665, allocations: 0.5831 MB / 3.578 GB, free: 18.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/7.665, allocations: 4.125 kB / 3.578 GB, free: 18.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/7.665, allocations: 4 kB / 3.578 GB, free: 18.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/7.666, allocations: 131.9 kB / 3.578 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/7.666, allocations: 11.89 kB / 3.578 GB, free: 18.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/7.667, allocations: 111.5 kB / 3.578 GB, free: 18.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/7.667, allocations: 23.39 kB / 3.578 GB, free: 18.16 MB / 0.698 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 () * 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.0001285/7.667, allocations: 108.9 kB / 3.579 GB, free: 18.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/7.667, allocations: 94.88 kB / 3.579 GB, free: 17.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/7.668, allocations: 0.7503 MB / 3.579 GB, free: 17.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/7.668, allocations: 4 kB / 3.579 GB, free: 17.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/7.668, allocations: 0 / 3.579 GB, free: 17.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008928/7.669, allocations: 0.9189 MB / 3.58 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/7.672, allocations: 2.085 MB / 3.582 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/7.672, allocations: 4 kB / 3.582 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006412/7.673, allocations: 156.2 kB / 3.582 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/7.673, allocations: 15.94 kB / 3.583 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/7.673, allocations: 8 kB / 3.583 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/7.673, allocations: 4 kB / 3.583 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/7.673, allocations: 4 kB / 3.583 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/7.674, allocations: 1.343 MB / 3.584 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/7.675, allocations: 251.8 kB / 3.584 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/7.675, allocations: 8 kB / 3.584 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009158/7.676, allocations: 119.7 kB / 3.584 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/7.676, allocations: 48.33 kB / 3.584 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/7.676, allocations: 24 kB / 3.584 GB, free: 11.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004996/7.676, allocations: 471.3 kB / 3.585 GB, free: 11.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/7.676, allocations: 0 / 3.585 GB, free: 11.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001741/7.678, allocations: 0.6821 MB / 3.585 GB, free: 10.71 MB / 0.698 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 () * 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.003136/7.681, allocations: 2.584 MB / 3.588 GB, free: 7.934 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001238/7.683, allocations: 0.8593 MB / 3.589 GB, free: 7.074 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/7.683, allocations: 3.938 kB / 3.589 GB, free: 7.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/7.683, allocations: 297.4 kB / 3.589 GB, free: 6.781 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/7.686, allocations: 0.6107 MB / 3.59 GB, free: 6.176 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/7.689, allocations: 1.704 MB / 3.591 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/7.689, allocations: 1.148 MB / 3.592 GB, free: 3.223 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00131/7.69, allocations: 343.5 kB / 3.593 GB, free: 2.883 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/7.691, allocations: 63.44 kB / 3.593 GB, free: 2.82 MB / 0.698 GB Notification: Performance of SimCode: time 2.715e-06/7.691, allocations: 0 / 3.593 GB, free: 2.82 MB / 0.698 GB Notification: Performance of Templates: time 0.5526/8.243, allocations: 32.11 MB / 3.624 GB, free: 97.42 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)