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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.9746/0.9746, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 182.6 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 426.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008407/0.0008406, allocations: 93.11 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001761/0.001761, allocations: 275.6 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005282/0.0005283, allocations: 24 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3531, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.139/4.492, allocations: 2.052 GB / 2.792 GB, free: 156 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/4.492, allocations: 92.8 kB / 2.792 GB, free: 155.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.868/7.361, allocations: 0.9155 GB / 3.707 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/7.361, allocations: 2.078 kB / 3.707 GB, free: 14.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000209/7.361, allocations: 31.98 kB / 3.707 GB, free: 14.09 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.006432/7.368, allocations: 1.737 MB / 3.709 GB, free: 12.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/7.368, allocations: 8.031 kB / 3.709 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003659/7.371, allocations: 418.9 kB / 3.709 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/7.375, allocations: 1.106 MB / 3.71 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-05/7.375, allocations: 62 kB / 3.711 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/7.376, allocations: 87.94 kB / 3.711 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/7.378, allocations: 0.8545 MB / 3.711 GB, free: 9.742 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/7.378, allocations: 3.906 kB / 3.711 GB, free: 9.738 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/7.378, allocations: 32 kB / 3.711 GB, free: 9.707 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/7.378, allocations: 29.98 kB / 3.712 GB, free: 9.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/7.38, allocations: 0.7886 MB / 3.712 GB, free: 8.887 MB / 0.698 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.00628/7.386, allocations: 3.666 MB / 3.716 GB, free: 4.934 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/7.388, allocations: 1.108 MB / 3.717 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/7.388, allocations: 376.1 kB / 3.717 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006718/7.389, allocations: 404.9 kB / 3.718 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/7.389, allocations: 50.19 kB / 3.718 GB, free: 2.816 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.036e-06/7.389, allocations: 0 / 3.718 GB, free: 2.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002353/7.391, allocations: 1.013 MB / 3.719 GB, free: 1.797 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/7.392, allocations: 55.97 kB / 3.719 GB, free: 1.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/7.393, allocations: 0.82 MB / 3.72 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/7.393, allocations: 41.7 kB / 3.72 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/7.394, allocations: 480.2 kB / 3.72 GB, free: 372 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/7.394, allocations: 212.8 kB / 3.72 GB, free: 156 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/7.394, allocations: 16 kB / 3.72 GB, free: 140 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.3854/7.779, allocations: 326.6 kB / 3.721 GB, free: 94.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009038/7.78, allocations: 256.9 kB / 3.721 GB, free: 94.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008761/7.781, allocations: 416.2 kB / 3.721 GB, free: 94.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/7.782, allocations: 0.6241 MB / 3.722 GB, free: 94.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/7.782, allocations: 0 / 3.722 GB, free: 94.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001635/7.784, allocations: 0.7581 MB / 3.723 GB, free: 94.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/7.784, allocations: 131 kB / 3.723 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/7.784, allocations: 1.125 kB / 3.723 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/7.784, allocations: 3.844 kB / 3.723 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/7.785, allocations: 134.7 kB / 3.723 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/7.785, allocations: 4.125 kB / 3.723 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/7.786, allocations: 133.6 kB / 3.723 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/7.786, allocations: 23.25 kB / 3.723 GB, free: 94.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/7.786, allocations: 7.422 kB / 3.723 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/7.787, allocations: 0.6429 MB / 3.724 GB, free: 94.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/7.787, allocations: 0.9688 kB / 3.724 GB, free: 94.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/7.787, allocations: 8.281 kB / 3.724 GB, free: 94.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/7.788, allocations: 134.2 kB / 3.724 GB, free: 94.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/7.788, allocations: 4.484 kB / 3.724 GB, free: 94.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/7.789, allocations: 131.2 kB / 3.724 GB, free: 94.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/7.789, allocations: 26.05 kB / 3.724 GB, free: 94.37 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 () * 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.0006495/7.79, allocations: 385.8 kB / 3.724 GB, free: 94.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/7.79, allocations: 101.6 kB / 3.724 GB, free: 94.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/7.791, allocations: 0.7908 MB / 3.725 GB, free: 94.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/7.791, allocations: 13.64 kB / 3.725 GB, free: 94.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/7.791, allocations: 8.031 kB / 3.725 GB, free: 94.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/7.793, allocations: 0.9564 MB / 3.726 GB, free: 93.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/7.796, allocations: 2.253 MB / 3.728 GB, free: 93.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/7.796, allocations: 3.406 kB / 3.728 GB, free: 93.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006965/7.797, allocations: 160.1 kB / 3.728 GB, free: 93.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/7.797, allocations: 7.906 kB / 3.728 GB, free: 93.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/7.797, allocations: 17.92 kB / 3.729 GB, free: 93.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/7.797, allocations: 7.969 kB / 3.729 GB, free: 93.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/7.797, allocations: 7.688 kB / 3.729 GB, free: 93.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/7.798, allocations: 1.281 MB / 3.73 GB, free: 92.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/7.799, allocations: 259.1 kB / 3.73 GB, free: 92.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/7.799, allocations: 20.52 kB / 3.73 GB, free: 92.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/7.8, allocations: 126.2 kB / 3.73 GB, free: 92.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/7.8, allocations: 56.53 kB / 3.73 GB, free: 92.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/7.8, allocations: 25.69 kB / 3.73 GB, free: 92.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007604/7.801, allocations: 0.565 MB / 3.731 GB, free: 92.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/7.801, allocations: 0 / 3.731 GB, free: 92.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002423/7.803, allocations: 0.7746 MB / 3.732 GB, free: 92.48 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 () * 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.003546/7.807, allocations: 2.351 MB / 3.734 GB, free: 91.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002014/7.809, allocations: 0.9812 MB / 3.735 GB, free: 91.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/7.809, allocations: 2.562 kB / 3.735 GB, free: 91.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005731/7.809, allocations: 354.9 kB / 3.735 GB, free: 91.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/7.813, allocations: 0.6726 MB / 3.736 GB, free: 91.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/7.816, allocations: 2.613 MB / 3.738 GB, free: 90.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/7.817, allocations: 1.125 MB / 3.739 GB, free: 89.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001266/7.818, allocations: 292.9 kB / 3.74 GB, free: 89.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/7.819, allocations: 87.77 kB / 3.74 GB, free: 89.73 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/7.819, allocations: 3.625 kB / 3.74 GB, free: 89.73 MB / 0.698 GB Notification: Performance of Templates: time 0.06415/7.883, allocations: 46.81 MB / 3.786 GB, free: 88.45 MB / 0.698 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)