Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7346/0.7346, allocations: 127.4 MB / 134.9 MB, free: 3.461 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.001131/0.001131, allocations: 175.5 kB / 164.6 MB, free: 11.61 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.601/1.601, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0008756/0.0008755, allocations: 86.48 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.704e-05, allocations: 4.844 kB / 0.5466 GB, free: 95.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1592, allocations: 76.76 MB / 0.6215 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7492/0.9084, allocations: 360.7 MB / 0.9738 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.9087, allocations: 98.69 kB / 0.9738 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.329/2.237, allocations: 353.6 MB / 1.319 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/2.237, allocations: 0 / 1.319 GB, free: 155.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.54e-05/2.238, allocations: 27.42 kB / 1.319 GB, free: 155.3 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002266/2.24, allocations: 1.134 MB / 1.32 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/2.24, allocations: 9.125 kB / 1.32 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008187/2.241, allocations: 181 kB / 1.32 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/2.242, allocations: 0.6651 MB / 1.321 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/2.242, allocations: 20.62 kB / 1.321 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/2.242, allocations: 62.03 kB / 1.321 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006298/2.243, allocations: 331.2 kB / 1.322 GB, free: 154.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/2.244, allocations: 465.3 kB / 1.322 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/2.244, allocations: 4.812 kB / 1.322 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/2.244, allocations: 3.219 kB / 1.322 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/2.244, allocations: 10.69 kB / 1.322 GB, free: 154.3 MB / 0.6511 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.003637/2.247, allocations: 2.712 MB / 1.325 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/2.248, allocations: 232.5 kB / 1.325 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/2.248, allocations: 93.09 kB / 1.325 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/2.248, allocations: 113 kB / 1.325 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/2.248, allocations: 42.03 kB / 1.325 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 1.853e-06/2.248, allocations: 0 / 1.325 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.002636/2.251, allocations: 0.6204 MB / 1.326 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/2.251, allocations: 55.03 kB / 1.326 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/2.252, allocations: 0.5481 MB / 1.326 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/2.252, allocations: 28.77 kB / 1.326 GB, free: 152.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/2.252, allocations: 440.6 kB / 1.327 GB, free: 152.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/2.252, allocations: 73.66 kB / 1.327 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/2.252, allocations: 3.312 kB / 1.327 GB, free: 152.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.989e-05/2.252, allocations: 387.1 kB / 1.327 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/2.252, allocations: 163.7 kB / 1.327 GB, free: 151.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/2.253, allocations: 0.7872 MB / 1.328 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/2.254, allocations: 365.6 kB / 1.328 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/2.254, allocations: 3.344 kB / 1.328 GB, free: 151.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001505/2.256, allocations: 0.6636 MB / 1.329 GB, free: 151.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/2.256, allocations: 0.8016 MB / 1.33 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/2.256, allocations: 7.188 kB / 1.33 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/2.256, allocations: 3.938 kB / 1.33 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/2.259, allocations: 0.507 MB / 1.33 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/2.261, allocations: 2.573 MB / 1.333 GB, free: 148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/2.263, allocations: 421.8 kB / 1.333 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/2.263, allocations: 26.31 kB / 1.333 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/2.263, allocations: 3.812 kB / 1.333 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001253/2.264, allocations: 0.4917 MB / 1.334 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/2.264, allocations: 7.141 kB / 1.334 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/2.264, allocations: 3.844 kB / 1.334 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/2.265, allocations: 164.8 kB / 1.334 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/2.265, allocations: 5.062 kB / 1.334 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/2.267, allocations: 379.2 kB / 1.334 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/2.267, allocations: 26.33 kB / 1.334 GB, free: 147.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/2.267, allocations: 128.7 kB / 1.335 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/2.267, allocations: 69.69 kB / 1.335 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/2.268, allocations: 485.4 kB / 1.335 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/2.268, allocations: 3.719 kB / 1.335 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/2.268, allocations: 0 / 1.335 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/2.268, allocations: 7.688 kB / 1.335 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/2.271, allocations: 1.1 MB / 1.336 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/2.271, allocations: 0 / 1.336 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/2.273, allocations: 0.4974 MB / 1.337 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/2.274, allocations: 3.188 kB / 1.337 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/2.274, allocations: 8.094 kB / 1.337 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005765/2.279, allocations: 5.56 MB / 1.342 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.279, allocations: 0 / 1.342 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/2.281, allocations: 0.5436 MB / 1.343 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/2.281, allocations: 201.4 kB / 1.343 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/2.281, allocations: 0 / 1.343 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/2.282, allocations: 87.23 kB / 1.343 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/2.282, allocations: 26.12 kB / 1.343 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/2.282, allocations: 14.06 kB / 1.343 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005059/2.283, allocations: 415.5 kB / 1.343 GB, free: 142 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/2.283, allocations: 3.062 kB / 1.343 GB, free: 142 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001723/2.284, allocations: 485.5 kB / 1.344 GB, free: 141.9 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008266/2.285, allocations: 441.6 kB / 1.344 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003707/2.289, allocations: 0.947 MB / 1.345 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/2.289, allocations: 6.688 kB / 1.345 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002656/2.292, allocations: 0.5094 MB / 1.346 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/2.294, allocations: 340 kB / 1.346 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/2.296, allocations: 0.8584 MB / 1.347 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/2.296, allocations: 0.9635 MB / 1.348 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001275/2.297, allocations: 191.6 kB / 1.348 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/2.298, allocations: 57.09 kB / 1.348 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of SimCode: time 8.12e-07/2.298, allocations: 0 / 1.348 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.03364/2.331, allocations: 19.03 MB / 1.367 GB, free: 138.9 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)