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.7359/0.7359, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 184.9 kB / 169.7 MB, free: 1.727 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.982/1.982, allocations: 205.1 MB / 404.5 MB, free: 1.578 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.0009638/0.0009638, allocations: 92.86 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.292e-05/4.294e-05, allocations: 0 / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1844, allocations: 76.77 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.471, allocations: 361.3 MB / 0.981 GB, free: 172.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1.472, allocations: 99.92 kB / 0.9811 GB, free: 172.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.105/2.576, allocations: 356.6 MB / 1.329 GB, free: 61.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/2.577, allocations: 0 / 1.329 GB, free: 61.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.957e-05/2.577, allocations: 35.98 kB / 1.329 GB, free: 61.8 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002538/2.579, allocations: 1.138 MB / 1.33 GB, free: 60.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/2.579, allocations: 16.03 kB / 1.331 GB, free: 60.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007844/2.58, allocations: 170.8 kB / 1.331 GB, free: 60.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/2.581, allocations: 0.6646 MB / 1.331 GB, free: 59.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/2.582, allocations: 57 kB / 1.331 GB, free: 59.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/2.582, allocations: 91.95 kB / 1.331 GB, free: 59.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/2.584, allocations: 0.7638 MB / 1.332 GB, free: 58.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/2.584, allocations: 3.938 kB / 1.332 GB, free: 58.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/2.584, allocations: 20 kB / 1.332 GB, free: 58.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/2.584, allocations: 12 kB / 1.332 GB, free: 58.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/2.586, allocations: 0.5894 MB / 1.333 GB, free: 58.18 MB / 0.6355 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.003886/2.59, allocations: 2.518 MB / 1.335 GB, free: 55.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/2.592, allocations: 482.4 kB / 1.336 GB, free: 55.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/2.592, allocations: 97.5 kB / 1.336 GB, free: 54.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003985/2.593, allocations: 441.9 kB / 1.336 GB, free: 54.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/2.593, allocations: 38.56 kB / 1.336 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 3.517e-06/2.593, allocations: 0 / 1.336 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.003809/2.597, allocations: 0.7695 MB / 1.337 GB, free: 53.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/2.597, allocations: 63.34 kB / 1.337 GB, free: 53.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/2.598, allocations: 0.6451 MB / 1.338 GB, free: 52.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/2.598, allocations: 45.7 kB / 1.338 GB, free: 52.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/2.598, allocations: 452 kB / 1.338 GB, free: 52.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/2.598, allocations: 86.75 kB / 1.338 GB, free: 52.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/2.598, allocations: 8 kB / 1.338 GB, free: 52.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/2.598, allocations: 329.9 kB / 1.339 GB, free: 51.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/2.598, allocations: 173.1 kB / 1.339 GB, free: 51.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/2.599, allocations: 0.8015 MB / 1.34 GB, free: 50.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/2.6, allocations: 247.7 kB / 1.34 GB, free: 50.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/2.6, allocations: 0 / 1.34 GB, free: 50.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009311/2.6, allocations: 0.581 MB / 1.34 GB, free: 49.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/2.601, allocations: 0.7977 MB / 1.341 GB, free: 49.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/2.601, allocations: 11.94 kB / 1.341 GB, free: 49.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/2.601, allocations: 4 kB / 1.341 GB, free: 49.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/2.604, allocations: 0.5072 MB / 1.342 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/2.606, allocations: 2.551 MB / 1.344 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/2.608, allocations: 435.6 kB / 1.345 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/2.609, allocations: 32.19 kB / 1.345 GB, free: 45.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/2.609, allocations: 7.953 kB / 1.345 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007367/2.609, allocations: 438.1 kB / 1.345 GB, free: 45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/2.609, allocations: 4 kB / 1.345 GB, free: 45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/2.609, allocations: 4 kB / 1.345 GB, free: 44.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/2.61, allocations: 168 kB / 1.345 GB, free: 44.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/2.61, allocations: 7.984 kB / 1.345 GB, free: 44.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/2.612, allocations: 411.5 kB / 1.346 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/2.612, allocations: 23.98 kB / 1.346 GB, free: 44.39 MB / 0.6355 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 (60): * Single equations (assignments): 56 * 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.0002332/2.612, allocations: 156.1 kB / 1.346 GB, free: 44.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/2.613, allocations: 79.02 kB / 1.346 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/2.613, allocations: 438.1 kB / 1.346 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/2.613, allocations: 4 kB / 1.346 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/2.613, allocations: 0 / 1.346 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-06/2.613, allocations: 0 / 1.346 GB, free: 43.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/2.615, allocations: 1.095 MB / 1.347 GB, free: 42.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/2.615, allocations: 3.984 kB / 1.347 GB, free: 42.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002938/2.618, allocations: 0.4916 MB / 1.348 GB, free: 42.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/2.618, allocations: 4 kB / 1.348 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/2.618, allocations: 11.98 kB / 1.348 GB, free: 42.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00596/2.624, allocations: 5.739 MB / 1.353 GB, free: 35.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/2.624, allocations: 7.984 kB / 1.353 GB, free: 35.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/2.625, allocations: 467 kB / 1.354 GB, free: 35.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/2.626, allocations: 203.9 kB / 1.354 GB, free: 35.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.964e-05/2.626, allocations: 8 kB / 1.354 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008199/2.627, allocations: 107.8 kB / 1.354 GB, free: 34.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/2.627, allocations: 23.95 kB / 1.354 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/2.627, allocations: 19.94 kB / 1.354 GB, free: 34.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006428/2.627, allocations: 0.5148 MB / 1.355 GB, free: 34.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/2.627, allocations: 0 / 1.355 GB, free: 34.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001877/2.629, allocations: 499.5 kB / 1.355 GB, free: 33.93 MB / 0.6355 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.000944/2.63, allocations: 454.5 kB / 1.356 GB, free: 33.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003881/2.634, allocations: 0.9909 MB / 1.357 GB, free: 32.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/2.634, allocations: 4.062 kB / 1.357 GB, free: 32.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002565/2.637, allocations: 0.5073 MB / 1.357 GB, free: 31.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/2.639, allocations: 406.7 kB / 1.357 GB, free: 31.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/2.641, allocations: 0.8917 MB / 1.358 GB, free: 30.67 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/2.641, allocations: 0.9717 MB / 1.359 GB, free: 29.67 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001248/2.642, allocations: 217.8 kB / 1.36 GB, free: 29.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/2.643, allocations: 55.41 kB / 1.36 GB, free: 29.4 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/2.643, allocations: 0 / 1.36 GB, free: 29.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.03372/2.676, allocations: 23.17 MB / 1.382 GB, free: 6.445 MB / 0.6355 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)