Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.752/0.752, allocations: 128.8 MB / 143.7 MB, free: 2.172 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.001143/0.001143, allocations: 180.4 kB / 173.8 MB, free: 6.016 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.692/1.692, allocations: 205.4 MB / 409 MB, free: 10.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.000945/0.0009451, allocations: 100.7 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005353/0.0005351, allocations: 8.469 kB / 0.5604 GB, free: 97.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2473, allocations: 76.77 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.537/1.785, allocations: 387.9 MB / 1.014 GB, free: 236.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004123/1.785, allocations: 103.9 kB / 1.014 GB, free: 236.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.408/4.193, allocations: 0.649 GB / 1.663 GB, free: 79.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.384e-06/4.193, allocations: 0 / 1.663 GB, free: 79.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001799/4.193, allocations: 52.7 kB / 1.663 GB, free: 79.36 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004861/4.198, allocations: 2.053 MB / 1.665 GB, free: 77.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/4.198, allocations: 8.031 kB / 1.665 GB, free: 77.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005847/4.199, allocations: 205.6 kB / 1.665 GB, free: 77.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/4.203, allocations: 1.879 MB / 1.667 GB, free: 75.19 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/4.203, allocations: 87.41 kB / 1.667 GB, free: 75.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/4.203, allocations: 114.3 kB / 1.667 GB, free: 75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/4.206, allocations: 1.243 MB / 1.669 GB, free: 73.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/4.206, allocations: 3.938 kB / 1.669 GB, free: 73.72 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-05/4.206, allocations: 45.19 kB / 1.669 GB, free: 73.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/4.206, allocations: 28 kB / 1.669 GB, free: 73.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/4.209, allocations: 0.943 MB / 1.67 GB, free: 72.72 MB / 0.6511 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.007405/4.216, allocations: 5.289 MB / 1.675 GB, free: 67.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/4.218, allocations: 499.9 kB / 1.675 GB, free: 66.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/4.218, allocations: 0.6648 MB / 1.676 GB, free: 65.81 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/4.219, allocations: 39.19 kB / 1.676 GB, free: 65.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 5.53e-06/4.219, allocations: 3.516 kB / 1.676 GB, free: 65.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.003961/4.222, allocations: 1.073 MB / 1.677 GB, free: 64.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/4.223, allocations: 55.41 kB / 1.677 GB, free: 64.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/4.224, allocations: 1.216 MB / 1.678 GB, free: 63.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/4.224, allocations: 45.7 kB / 1.678 GB, free: 63.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/4.225, allocations: 0.7395 MB / 1.679 GB, free: 62.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/4.225, allocations: 134 kB / 1.679 GB, free: 62.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/4.225, allocations: 16 kB / 1.679 GB, free: 62.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001005/4.225, allocations: 341.9 kB / 1.68 GB, free: 62.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/4.226, allocations: 301.8 kB / 1.68 GB, free: 61.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008326/4.227, allocations: 0.5989 MB / 1.68 GB, free: 61.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008038/4.227, allocations: 385.9 kB / 1.681 GB, free: 60.72 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/4.227, allocations: 4 kB / 1.681 GB, free: 60.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002109/4.23, allocations: 0.9969 MB / 1.682 GB, free: 59.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007069/4.23, allocations: 2.256 MB / 1.684 GB, free: 57.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/4.23, allocations: 8 kB / 1.684 GB, free: 57.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/4.23, allocations: 8 kB / 1.684 GB, free: 57.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009912/4.231, allocations: 215.7 kB / 1.684 GB, free: 57.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/4.231, allocations: 19.88 kB / 1.684 GB, free: 57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/4.233, allocations: 202.7 kB / 1.684 GB, free: 56.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.86e-05/4.233, allocations: 43.97 kB / 1.684 GB, free: 56.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/4.233, allocations: 4 kB / 1.684 GB, free: 56.75 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00102/4.234, allocations: 0.661 MB / 1.685 GB, free: 56.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/4.234, allocations: 15.97 kB / 1.685 GB, free: 56.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/4.234, allocations: 8 kB / 1.685 GB, free: 56.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/4.235, allocations: 180.3 kB / 1.685 GB, free: 55.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/4.235, allocations: 11.94 kB / 1.685 GB, free: 55.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/4.236, allocations: 151 kB / 1.685 GB, free: 55.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/4.236, allocations: 39.98 kB / 1.685 GB, free: 55.69 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (93): * Single equations (assignments): 93 * 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.001016/4.237, allocations: 434.2 kB / 1.686 GB, free: 55.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/4.237, allocations: 150.1 kB / 1.686 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/4.239, allocations: 0.7444 MB / 1.687 GB, free: 54.35 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/4.239, allocations: 8 kB / 1.687 GB, free: 54.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.433e-05/4.239, allocations: 3.938 kB / 1.687 GB, free: 54.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/4.24, allocations: 0.8196 MB / 1.688 GB, free: 53.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/4.242, allocations: 1.043 MB / 1.689 GB, free: 52.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/4.242, allocations: 0 / 1.689 GB, free: 52.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/4.243, allocations: 131.8 kB / 1.689 GB, free: 52.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/4.243, allocations: 0 / 1.689 GB, free: 52.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/4.243, allocations: 15.69 kB / 1.689 GB, free: 52.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/4.243, allocations: 0 / 1.689 GB, free: 52.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/4.243, allocations: 3.688 kB / 1.689 GB, free: 52.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/4.245, allocations: 0.9686 MB / 1.69 GB, free: 51.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/4.245, allocations: 314.9 kB / 1.69 GB, free: 50.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/4.245, allocations: 12.06 kB / 1.69 GB, free: 50.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008194/4.246, allocations: 103.7 kB / 1.69 GB, free: 50.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/4.246, allocations: 31.77 kB / 1.69 GB, free: 50.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/4.246, allocations: 19.98 kB / 1.69 GB, free: 50.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001422/4.248, allocations: 0.9787 MB / 1.691 GB, free: 49.74 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/4.248, allocations: 0 / 1.691 GB, free: 49.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002862/4.251, allocations: 0.772 MB / 1.692 GB, free: 48.97 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.00133/4.252, allocations: 0.7182 MB / 1.693 GB, free: 48.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002158/4.254, allocations: 1.031 MB / 1.694 GB, free: 47.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/4.254, allocations: 0 / 1.694 GB, free: 47.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005426/4.255, allocations: 260.6 kB / 1.694 GB, free: 47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/4.258, allocations: 0.8234 MB / 1.695 GB, free: 46.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/4.272, allocations: 3.706 MB / 1.698 GB, free: 42.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/4.272, allocations: 1.264 MB / 1.699 GB, free: 41.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001696/4.274, allocations: 312.6 kB / 1.7 GB, free: 40.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/4.274, allocations: 119.4 kB / 1.7 GB, free: 40.78 MB / 0.6511 GB Notification: Performance of SimCode: time 2.154e-06/4.274, allocations: 0 / 1.7 GB, free: 40.78 MB / 0.6511 GB Notification: Performance of Templates: time 0.06305/4.337, allocations: 32.68 MB / 1.732 GB, free: 8.512 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)