Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9607/0.9607, allocations: 128.7 MB / 143.7 MB, free: 2.332 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.001078/0.001078, allocations: 193.9 kB / 173.8 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, 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.0009067/0.000907, allocations: 105.2 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004378, allocations: 13.78 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2244, allocations: 76.76 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9609/1.185, allocations: 356.9 MB / 0.9839 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004419/1.186, allocations: 100.9 kB / 0.984 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9723/2.158, allocations: 233.5 MB / 1.212 GB, free: 36.99 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/2.158, allocations: 0 / 1.212 GB, free: 36.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.402e-05/2.158, allocations: 16 kB / 1.212 GB, free: 36.97 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002364/2.161, allocations: 1.063 MB / 1.213 GB, free: 35.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.416e-05/2.161, allocations: 12.03 kB / 1.213 GB, free: 35.85 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/2.162, allocations: 246.8 kB / 1.213 GB, free: 35.61 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/2.163, allocations: 0.5229 MB / 1.214 GB, free: 35.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/2.163, allocations: 40.98 kB / 1.214 GB, free: 35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/2.163, allocations: 52 kB / 1.214 GB, free: 34.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004381/2.168, allocations: 1.156 MB / 1.215 GB, free: 33.72 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/2.168, allocations: 4 kB / 1.215 GB, free: 33.72 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/2.168, allocations: 20 kB / 1.215 GB, free: 33.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/2.168, allocations: 15.94 kB / 1.215 GB, free: 33.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004578/2.173, allocations: 1.085 MB / 1.216 GB, free: 32.6 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.005102/2.178, allocations: 3.259 MB / 1.219 GB, free: 29.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004279/2.182, allocations: 0.8382 MB / 1.22 GB, free: 28.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004694/2.182, allocations: 348.4 kB / 1.22 GB, free: 27.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/2.183, allocations: 42.56 kB / 1.221 GB, free: 27.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 5.16e-06/2.183, allocations: 4 kB / 1.221 GB, free: 27.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.009855/2.192, allocations: 1.943 MB / 1.222 GB, free: 25.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/2.193, allocations: 59.41 kB / 1.222 GB, free: 25.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/2.194, allocations: 0.5031 MB / 1.223 GB, free: 25.28 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/2.194, allocations: 37.7 kB / 1.223 GB, free: 25.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/2.194, allocations: 332.4 kB / 1.223 GB, free: 24.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/2.194, allocations: 126.2 kB / 1.223 GB, free: 24.78 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/2.194, allocations: 8 kB / 1.223 GB, free: 24.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001897/2.195, allocations: 374.8 kB / 1.224 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/2.196, allocations: 417 kB / 1.224 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/2.197, allocations: 0.5782 MB / 1.225 GB, free: 23.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/2.198, allocations: 439.2 kB / 1.225 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/2.198, allocations: 0 / 1.225 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003193/2.202, allocations: 1.144 MB / 1.226 GB, free: 21.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004526/2.202, allocations: 1.744 MB / 1.228 GB, free: 19.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/2.202, allocations: 4 kB / 1.228 GB, free: 19.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007504/2.203, allocations: 220.7 kB / 1.228 GB, free: 19.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/2.204, allocations: 235.6 kB / 1.228 GB, free: 19.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/2.206, allocations: 0.8061 MB / 1.229 GB, free: 18.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/2.208, allocations: 187.2 kB / 1.229 GB, free: 18.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/2.208, allocations: 43.89 kB / 1.229 GB, free: 18.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/2.208, allocations: 6.031 kB / 1.229 GB, free: 18.36 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002728/2.21, allocations: 0.998 MB / 1.23 GB, free: 17.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/2.21, allocations: 8.062 kB / 1.23 GB, free: 17.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/2.21, allocations: 8 kB / 1.23 GB, free: 17.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/2.212, allocations: 247.7 kB / 1.231 GB, free: 17.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/2.212, allocations: 11.98 kB / 1.231 GB, free: 17.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/2.213, allocations: 163.4 kB / 1.231 GB, free: 16.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/2.213, allocations: 47.89 kB / 1.231 GB, free: 16.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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): 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004923/2.214, allocations: 264.7 kB / 1.231 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/2.214, allocations: 63.2 kB / 1.231 GB, free: 16.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/2.217, allocations: 1.059 MB / 1.232 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/2.217, allocations: 4 kB / 1.232 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/2.217, allocations: 8 kB / 1.232 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/2.217, allocations: 3.984 kB / 1.232 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006854/2.224, allocations: 2.161 MB / 1.234 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/2.224, allocations: 0 / 1.234 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/2.225, allocations: 155.8 kB / 1.235 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006497/2.226, allocations: 212.7 kB / 1.235 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/2.226, allocations: 19.97 kB / 1.235 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/2.228, allocations: 0.8177 MB / 1.236 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/2.228, allocations: 4.062 kB / 1.236 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/2.233, allocations: 1.365 MB / 1.237 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/2.233, allocations: 220 kB / 1.237 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/2.234, allocations: 8.062 kB / 1.237 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/2.235, allocations: 135.8 kB / 1.237 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/2.235, allocations: 31.89 kB / 1.237 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/2.235, allocations: 23.97 kB / 1.237 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006432/2.236, allocations: 399.1 kB / 1.238 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/2.236, allocations: 0 / 1.238 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002122/2.238, allocations: 407.5 kB / 1.238 GB, free: 9.41 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/2.239, allocations: 364.3 kB / 1.238 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005376/2.244, allocations: 1.541 MB / 1.24 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/2.244, allocations: 0 / 1.24 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002235/2.247, allocations: 0.5317 MB / 1.24 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/2.249, allocations: 254.6 kB / 1.241 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/2.252, allocations: 1.405 MB / 1.242 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/2.252, allocations: 0.9118 MB / 1.243 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001119/2.253, allocations: 153.1 kB / 1.243 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/2.254, allocations: 75.31 kB / 1.243 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of SimCode: time 1.262e-06/2.254, allocations: 0 / 1.243 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of Templates: time 0.4407/2.695, allocations: 15.54 MB / 1.258 GB, free: 165.3 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)