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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7933/0.7933, allocations: 127.4 MB / 134.9 MB, free: 3.441 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.00114/0.00114, allocations: 183.1 kB / 164.6 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.2 MB / 399.5 MB, free: 13.48 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.001034/0.001034, allocations: 99.12 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.942e-05, allocations: 2.219 kB / 0.5466 GB, free: 95.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1512, allocations: 76.77 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.555/4.707, allocations: 2.158 GB / 2.78 GB, free: 20.43 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/4.707, allocations: 90.48 kB / 2.78 GB, free: 20.35 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.527/8.234, allocations: 0.8996 GB / 3.68 GB, free: 92.34 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.945e-06/8.234, allocations: 0 / 3.68 GB, free: 92.34 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003274/8.234, allocations: 38.53 kB / 3.68 GB, free: 92.34 MB / 0.6667 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.005648/8.24, allocations: 1.519 MB / 3.681 GB, free: 91.62 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/8.24, allocations: 10.09 kB / 3.681 GB, free: 91.62 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/8.243, allocations: 417.5 kB / 3.682 GB, free: 91.55 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/8.247, allocations: 1.158 MB / 3.683 GB, free: 91.26 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.006e-05/8.247, allocations: 23.81 kB / 3.683 GB, free: 91.26 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/8.247, allocations: 51.94 kB / 3.683 GB, free: 91.26 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001616/8.249, allocations: 0.6777 MB / 3.684 GB, free: 91.25 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/8.25, allocations: 0.6838 MB / 3.684 GB, free: 91.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/8.25, allocations: 5.469 kB / 3.684 GB, free: 91.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/8.25, allocations: 0 / 3.684 GB, free: 91.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/8.251, allocations: 30.34 kB / 3.684 GB, free: 91.2 MB / 0.6667 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.006029/8.257, allocations: 3.429 MB / 3.688 GB, free: 89.65 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/8.258, allocations: 1.051 MB / 3.689 GB, free: 89.07 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/8.258, allocations: 317.8 kB / 3.689 GB, free: 89.05 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/8.259, allocations: 400 kB / 3.689 GB, free: 88.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/8.259, allocations: 39.84 kB / 3.689 GB, free: 88.64 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 3.517e-06/8.259, allocations: 3.125 kB / 3.689 GB, free: 88.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.002388/8.261, allocations: 0.7586 MB / 3.69 GB, free: 88.54 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/8.262, allocations: 62.09 kB / 3.69 GB, free: 88.48 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/8.263, allocations: 0.5586 MB / 3.691 GB, free: 88.36 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/8.263, allocations: 29.08 kB / 3.691 GB, free: 88.33 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/8.263, allocations: 495.8 kB / 3.691 GB, free: 88.13 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/8.264, allocations: 204.2 kB / 3.691 GB, free: 88 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/8.264, allocations: 0 / 3.691 GB, free: 88 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001124/8.264, allocations: 332.5 kB / 3.692 GB, free: 87.69 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/8.264, allocations: 219.8 kB / 3.692 GB, free: 87.69 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/8.265, allocations: 349.1 kB / 3.692 GB, free: 87.56 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008165/8.266, allocations: 350.6 kB / 3.693 GB, free: 87.55 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/8.266, allocations: 0 / 3.693 GB, free: 87.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001719/8.267, allocations: 0.7206 MB / 3.693 GB, free: 87.46 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/8.268, allocations: 365.7 kB / 3.694 GB, free: 87.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/8.268, allocations: 0 / 3.694 GB, free: 87.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-05/8.268, allocations: 3.875 kB / 3.694 GB, free: 87.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/8.268, allocations: 148.2 kB / 3.694 GB, free: 87.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/8.268, allocations: 7.859 kB / 3.694 GB, free: 87.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/8.27, allocations: 101.1 kB / 3.694 GB, free: 87.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/8.27, allocations: 26.58 kB / 3.694 GB, free: 87.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/8.27, allocations: 3.844 kB / 3.694 GB, free: 87.07 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001212/8.271, allocations: 0.5683 MB / 3.694 GB, free: 87.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/8.271, allocations: 3.875 kB / 3.694 GB, free: 87.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/8.271, allocations: 3.656 kB / 3.694 GB, free: 87.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/8.272, allocations: 132 kB / 3.695 GB, free: 87.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/8.272, allocations: 7.594 kB / 3.695 GB, free: 87.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/8.273, allocations: 101.2 kB / 3.695 GB, free: 87.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/8.273, allocations: 25.39 kB / 3.695 GB, free: 87.03 MB / 0.6667 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 () * 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.0002033/8.273, allocations: 112.2 kB / 3.695 GB, free: 86.93 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/8.274, allocations: 94.34 kB / 3.695 GB, free: 86.88 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/8.275, allocations: 0.7379 MB / 3.696 GB, free: 86.82 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/8.275, allocations: 10.5 kB / 3.696 GB, free: 86.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/8.275, allocations: 1.219 kB / 3.696 GB, free: 86.82 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/8.277, allocations: 0.9139 MB / 3.697 GB, free: 86.36 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003738/8.28, allocations: 2.05 MB / 3.699 GB, free: 85.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/8.28, allocations: 0 / 3.699 GB, free: 85.78 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/8.281, allocations: 159.6 kB / 3.699 GB, free: 85.78 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/8.281, allocations: 7.812 kB / 3.699 GB, free: 85.78 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/8.281, allocations: 10.09 kB / 3.699 GB, free: 85.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/8.281, allocations: 7.594 kB / 3.699 GB, free: 85.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/8.281, allocations: 6.469 kB / 3.699 GB, free: 85.78 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/8.283, allocations: 1.376 MB / 3.7 GB, free: 85.28 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005623/8.284, allocations: 245 kB / 3.7 GB, free: 85.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/8.284, allocations: 14.66 kB / 3.7 GB, free: 85.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/8.285, allocations: 88.08 kB / 3.7 GB, free: 85.12 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/8.285, allocations: 47.27 kB / 3.7 GB, free: 85.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.765e-05/8.285, allocations: 25.38 kB / 3.7 GB, free: 85.12 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007225/8.286, allocations: 446.3 kB / 3.701 GB, free: 85.03 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.22e-07/8.286, allocations: 0 / 3.701 GB, free: 85.03 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002446/8.288, allocations: 0.6575 MB / 3.702 GB, free: 84.95 MB / 0.6667 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 () * 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.004525/8.293, allocations: 2.613 MB / 3.704 GB, free: 84.08 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001574/8.295, allocations: 0.8696 MB / 3.705 GB, free: 84.06 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/8.295, allocations: 1.688 kB / 3.705 GB, free: 84.06 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004819/8.295, allocations: 314.6 kB / 3.705 GB, free: 84.06 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/8.298, allocations: 0.5058 MB / 3.706 GB, free: 84.05 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/8.301, allocations: 1.695 MB / 3.707 GB, free: 83.53 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/8.302, allocations: 1.148 MB / 3.709 GB, free: 82.82 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001697/8.304, allocations: 354.7 kB / 3.709 GB, free: 82.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/8.304, allocations: 73.03 kB / 3.709 GB, free: 82.8 MB / 0.6667 GB Notification: Performance of SimCode: time 1.032e-06/8.304, allocations: 0 / 3.709 GB, free: 82.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.05197/8.356, allocations: 31.55 MB / 3.74 GB, free: 72.03 MB / 0.6667 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)