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.81/0.81, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001085/0.001086, allocations: 180.9 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.552/1.552, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009563/0.0009563, allocations: 95.55 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 272.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.041e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.478/0.4781, allocations: 82.76 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.611/5.089, allocations: 1.887 GB / 2.645 GB, free: 131.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/5.089, allocations: 95.06 kB / 2.645 GB, free: 131.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.451/8.54, allocations: 0.9186 GB / 3.563 GB, free: 5.812 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/8.54, allocations: 0 / 3.563 GB, free: 5.812 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001925/8.54, allocations: 39.16 kB / 3.563 GB, free: 5.777 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.004523/8.545, allocations: 1.527 MB / 3.565 GB, free: 4.203 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/8.545, allocations: 8.031 kB / 3.565 GB, free: 4.195 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/8.548, allocations: 411.6 kB / 3.565 GB, free: 3.793 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/8.551, allocations: 1.069 MB / 3.566 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/8.551, allocations: 28 kB / 3.566 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/8.551, allocations: 48 kB / 3.566 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001355/8.553, allocations: 0.6756 MB / 3.567 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/8.554, allocations: 0.679 MB / 3.568 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/8.554, allocations: 4 kB / 3.568 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/8.554, allocations: 0 / 3.568 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/8.554, allocations: 33.98 kB / 3.568 GB, free: 1.211 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.005752/8.56, allocations: 3.496 MB / 3.571 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/8.561, allocations: 1.042 MB / 3.572 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/8.562, allocations: 331 kB / 3.573 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/8.562, allocations: 396.9 kB / 3.573 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/8.562, allocations: 39.12 kB / 3.573 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 3.476e-06/8.562, allocations: 4 kB / 3.573 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.001932/8.564, allocations: 0.7195 MB / 3.574 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/8.565, allocations: 59.97 kB / 3.574 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009891/8.565, allocations: 0.5908 MB / 3.574 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.443e-05/8.566, allocations: 29.7 kB / 3.574 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/8.566, allocations: 491.9 kB / 3.575 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/8.566, allocations: 208.9 kB / 3.575 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/8.566, allocations: 0 / 3.575 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001541/8.566, allocations: 329.9 kB / 3.575 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/8.567, allocations: 217 kB / 3.576 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/8.567, allocations: 359.5 kB / 3.576 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007118/8.568, allocations: 337.9 kB / 3.576 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/8.568, allocations: 8 kB / 3.576 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001381/8.569, allocations: 0.7127 MB / 3.577 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002228/8.57, allocations: 451.3 kB / 3.577 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/8.57, allocations: 3.938 kB / 3.577 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/8.57, allocations: 4 kB / 3.577 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/8.57, allocations: 139 kB / 3.578 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/8.57, allocations: 4 kB / 3.578 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/8.572, allocations: 107.5 kB / 3.578 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/8.572, allocations: 27.92 kB / 3.578 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/8.572, allocations: 4 kB / 3.578 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/8.573, allocations: 0.5831 MB / 3.578 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/8.573, allocations: 4 kB / 3.578 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/8.573, allocations: 7.953 kB / 3.578 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/8.573, allocations: 139.9 kB / 3.578 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/8.573, allocations: 0 / 3.578 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/8.575, allocations: 115.4 kB / 3.578 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.238e-05/8.575, allocations: 20 kB / 3.578 GB, free: 5.703 MB / 0.7136 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.0002043/8.575, allocations: 113.7 kB / 3.579 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/8.575, allocations: 94.88 kB / 3.579 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/8.577, allocations: 0.7387 MB / 3.579 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/8.577, allocations: 11.94 kB / 3.579 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/8.577, allocations: 4 kB / 3.579 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/8.578, allocations: 0.9189 MB / 3.58 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/8.582, allocations: 2.082 MB / 3.582 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/8.582, allocations: 8.031 kB / 3.582 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/8.583, allocations: 155.8 kB / 3.583 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/8.583, allocations: 8 kB / 3.583 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/8.583, allocations: 8 kB / 3.583 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/8.583, allocations: 4 kB / 3.583 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/8.583, allocations: 14.55 kB / 3.583 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5846/9.167, allocations: 1.339 MB / 3.584 GB, free: 99.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009768/9.168, allocations: 242 kB / 3.584 GB, free: 99.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/9.169, allocations: 12.72 kB / 3.584 GB, free: 99.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/9.17, allocations: 121.8 kB / 3.584 GB, free: 99.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/9.17, allocations: 51.12 kB / 3.584 GB, free: 99.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/9.17, allocations: 27.66 kB / 3.584 GB, free: 99.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009268/9.171, allocations: 468 kB / 3.585 GB, free: 98.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.81e-07/9.171, allocations: 0 / 3.585 GB, free: 98.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002774/9.174, allocations: 0.6781 MB / 3.585 GB, free: 98.96 MB / 0.7136 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.004831/9.178, allocations: 2.585 MB / 3.588 GB, free: 98.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001694/9.18, allocations: 0.8585 MB / 3.589 GB, free: 98.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/9.18, allocations: 3.781 kB / 3.589 GB, free: 98.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005053/9.181, allocations: 302.3 kB / 3.589 GB, free: 98.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/9.185, allocations: 0.6004 MB / 3.59 GB, free: 98.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/9.188, allocations: 1.693 MB / 3.591 GB, free: 97.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/9.189, allocations: 1.152 MB / 3.592 GB, free: 96.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001563/9.19, allocations: 350.1 kB / 3.593 GB, free: 96.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/9.19, allocations: 68.55 kB / 3.593 GB, free: 96.91 MB / 0.7136 GB Notification: Performance of SimCode: time 1.914e-06/9.19, allocations: 0 / 3.593 GB, free: 96.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.05747/9.248, allocations: 32.11 MB / 3.624 GB, free: 96.2 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)