Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.657/0.657, allocations: 117.9 MB / 133.9 MB, free: 4.512 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 176.1 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 394.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 96.97 kB / 470.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004978, allocations: 16 kB / 0.5423 GB, free: 6.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.464, allocations: 74.53 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.461/5.925, allocations: 2.158 GB / 2.773 GB, free: 225.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/5.925, allocations: 98.09 kB / 2.773 GB, free: 225.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.831/8.756, allocations: 0.9088 GB / 3.682 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.235e-06/8.756, allocations: 0 / 3.682 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002243/8.756, allocations: 39.05 kB / 3.682 GB, free: 20.12 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.005864/8.762, allocations: 1.73 MB / 3.684 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/8.762, allocations: 8.031 kB / 3.684 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/8.765, allocations: 420.9 kB / 3.684 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/8.769, allocations: 1.194 MB / 3.685 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/8.769, allocations: 66 kB / 3.686 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/8.77, allocations: 95.84 kB / 3.686 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/8.773, allocations: 0.9169 MB / 3.687 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/8.773, allocations: 0 / 3.687 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/8.773, allocations: 32 kB / 3.687 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/8.773, allocations: 30 kB / 3.687 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/8.775, allocations: 0.8627 MB / 3.687 GB, free: 14.69 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.005417/8.781, allocations: 3.608 MB / 3.691 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/8.783, allocations: 1.181 MB / 3.692 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/8.783, allocations: 374.9 kB / 3.692 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005846/8.784, allocations: 404.9 kB / 3.693 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/8.784, allocations: 39.06 kB / 3.693 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=59): time 3.026e-06/8.784, allocations: 0 / 3.693 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59): time 0.003292/8.787, allocations: 1.122 MB / 3.694 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/8.787, allocations: 63.95 kB / 3.694 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/8.789, allocations: 0.7842 MB / 3.695 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/8.789, allocations: 41.7 kB / 3.695 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/8.789, allocations: 492.1 kB / 3.695 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/8.789, allocations: 212.9 kB / 3.696 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/8.789, allocations: 15.94 kB / 3.696 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/8.789, allocations: 322 kB / 3.696 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/8.79, allocations: 280.9 kB / 3.696 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/8.791, allocations: 411.7 kB / 3.696 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/8.792, allocations: 0.6312 MB / 3.697 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/8.792, allocations: 0 / 3.697 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001566/8.793, allocations: 0.7827 MB / 3.698 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/8.793, allocations: 117.9 kB / 3.698 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/8.793, allocations: 3.984 kB / 3.698 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/8.793, allocations: 4 kB / 3.698 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/8.794, allocations: 143.8 kB / 3.698 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/8.794, allocations: 4 kB / 3.698 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/8.795, allocations: 119.5 kB / 3.698 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/8.795, allocations: 23.98 kB / 3.698 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/8.795, allocations: 8 kB / 3.698 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/8.796, allocations: 0.63 MB / 3.699 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/8.796, allocations: 4 kB / 3.699 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/8.796, allocations: 7.938 kB / 3.699 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/8.797, allocations: 131.8 kB / 3.699 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/8.797, allocations: 4 kB / 3.699 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/8.798, allocations: 127.4 kB / 3.699 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/8.798, allocations: 23.98 kB / 3.699 GB, free: 1.996 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (68): * Single equations (assignments): 68 * 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.0007364/8.799, allocations: 377 kB / 3.7 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/8.799, allocations: 102.7 kB / 3.7 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/8.801, allocations: 0.8053 MB / 3.7 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/8.801, allocations: 8 kB / 3.7 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/8.801, allocations: 0 / 3.7 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001426/8.802, allocations: 0.9697 MB / 3.701 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004681/8.807, allocations: 2.219 MB / 3.704 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/8.807, allocations: 7.984 kB / 3.704 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000806/8.808, allocations: 156.2 kB / 3.704 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/8.808, allocations: 8 kB / 3.704 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.606e-05/8.808, allocations: 23.92 kB / 3.704 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/8.808, allocations: 4 kB / 3.704 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/8.808, allocations: 4 kB / 3.704 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/8.81, allocations: 1.337 MB / 3.705 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006484/8.811, allocations: 259.7 kB / 3.705 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/8.811, allocations: 19.94 kB / 3.705 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/8.812, allocations: 103.8 kB / 3.705 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/8.812, allocations: 40.38 kB / 3.705 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/8.813, allocations: 23.98 kB / 3.705 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001074/8.814, allocations: 0.5505 MB / 3.706 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.3e-07/8.814, allocations: 4 kB / 3.706 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002984/8.817, allocations: 0.7527 MB / 3.707 GB, free: 9.922 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (59): * Single equations (assignments): 59 * 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.004617/8.821, allocations: 2.371 MB / 3.709 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002443/8.824, allocations: 1.001 MB / 3.71 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/8.824, allocations: 0 / 3.71 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008122/8.825, allocations: 378.2 kB / 3.71 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/8.828, allocations: 0.5663 MB / 3.711 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00494/8.833, allocations: 2.62 MB / 3.714 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/8.835, allocations: 1.12 MB / 3.715 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001695/8.836, allocations: 300.1 kB / 3.715 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/8.837, allocations: 87.41 kB / 3.715 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/8.837, allocations: 0 / 3.715 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of Templates: time 0.4935/9.33, allocations: 45.88 MB / 3.76 GB, free: 77.88 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)