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.7803/0.7803, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001326/0.001325, allocations: 184.2 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.086/2.086, allocations: 205.4 MB / 409 MB, free: 10.5 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.001113/0.001113, allocations: 92.17 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004315, allocations: 9.125 kB / 0.5604 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.219, allocations: 76.76 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.551/1.77, allocations: 361.4 MB / 0.9883 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/1.771, allocations: 105.4 kB / 0.9884 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.213/2.983, allocations: 357.6 MB / 1.338 GB, free: 147.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.864e-06/2.983, allocations: 3.938 kB / 1.338 GB, free: 147.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.853e-05/2.983, allocations: 28.77 kB / 1.338 GB, free: 147.1 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.002553/2.986, allocations: 1.289 MB / 1.339 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/2.986, allocations: 11.41 kB / 1.339 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/2.987, allocations: 181.3 kB / 1.339 GB, free: 146 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/2.988, allocations: 0.6787 MB / 1.34 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/2.988, allocations: 65.5 kB / 1.34 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/2.988, allocations: 84.92 kB / 1.34 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/2.991, allocations: 0.8647 MB / 1.341 GB, free: 145 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/2.991, allocations: 2.062 kB / 1.341 GB, free: 145 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/2.991, allocations: 19.56 kB / 1.341 GB, free: 145 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/2.991, allocations: 13.75 kB / 1.341 GB, free: 145 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/2.994, allocations: 0.7237 MB / 1.341 GB, free: 144.7 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.003975/2.998, allocations: 2.525 MB / 1.344 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/3.001, allocations: 0.5724 MB / 1.344 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/3.001, allocations: 441.2 kB / 1.345 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/3.001, allocations: 41.03 kB / 1.345 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 3.035e-06/3.001, allocations: 0 / 1.345 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.00538/3.007, allocations: 1.075 MB / 1.346 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/3.007, allocations: 54.88 kB / 1.346 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/3.008, allocations: 0.6551 MB / 1.347 GB, free: 141 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003531/3.008, allocations: 48.55 kB / 1.347 GB, free: 141 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/3.009, allocations: 448.4 kB / 1.347 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/3.009, allocations: 85.48 kB / 1.347 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/3.009, allocations: 7.969 kB / 1.347 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/3.009, allocations: 325.8 kB / 1.348 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007519/3.01, allocations: 276.3 kB / 1.348 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/3.011, allocations: 0.897 MB / 1.349 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009189/3.012, allocations: 340.1 kB / 1.349 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/3.012, allocations: 0 / 1.349 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002161/3.014, allocations: 0.7793 MB / 1.35 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/3.015, allocations: 0.7957 MB / 1.351 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/3.015, allocations: 4.219 kB / 1.351 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/3.015, allocations: 7.188 kB / 1.351 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003549/3.018, allocations: 0.5107 MB / 1.351 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/3.021, allocations: 2.627 MB / 1.354 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/3.023, allocations: 437.2 kB / 1.354 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/3.024, allocations: 34.53 kB / 1.354 GB, free: 134 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/3.024, allocations: 4 kB / 1.354 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/3.025, allocations: 0.5692 MB / 1.355 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/3.025, allocations: 0 / 1.355 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/3.025, allocations: 4 kB / 1.355 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008028/3.026, allocations: 170.8 kB / 1.355 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/3.026, allocations: 4 kB / 1.355 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/3.028, allocations: 406.8 kB / 1.355 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/3.028, allocations: 27.08 kB / 1.355 GB, free: 132.8 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 () * Number of clocked 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.0007189/3.029, allocations: 293.5 kB / 1.355 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/3.029, allocations: 82.92 kB / 1.356 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/3.031, allocations: 0.6207 MB / 1.356 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/3.031, allocations: 4 kB / 1.356 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/3.031, allocations: 0 / 1.356 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/3.031, allocations: 3.984 kB / 1.356 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/3.034, allocations: 1.265 MB / 1.357 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/3.034, allocations: 0 / 1.357 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/3.038, allocations: 0.4993 MB / 1.358 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/3.038, allocations: 0 / 1.358 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/3.038, allocations: 11.98 kB / 1.358 GB, free: 130 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008164/3.046, allocations: 6.06 MB / 1.364 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/3.046, allocations: 3.953 kB / 1.364 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/3.048, allocations: 0.643 MB / 1.364 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006947/3.049, allocations: 200 kB / 1.365 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/3.049, allocations: 4 kB / 1.365 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/3.05, allocations: 115.7 kB / 1.365 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/3.05, allocations: 31.89 kB / 1.365 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/3.05, allocations: 15.94 kB / 1.365 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001045/3.052, allocations: 0.5263 MB / 1.365 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/3.052, allocations: 0 / 1.365 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002521/3.054, allocations: 0.4916 MB / 1.366 GB, free: 121.4 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 (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.001383/3.055, allocations: 443.9 kB / 1.366 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005767/3.061, allocations: 1.228 MB / 1.367 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/3.061, allocations: 0 / 1.367 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003259/3.065, allocations: 0.6088 MB / 1.368 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/3.067, allocations: 402.6 kB / 1.368 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/3.071, allocations: 1.529 MB / 1.37 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/3.071, allocations: 0.97 MB / 1.371 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001399/3.072, allocations: 160.8 kB / 1.371 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/3.073, allocations: 79.39 kB / 1.371 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/3.073, allocations: 3.938 kB / 1.371 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.03545/3.108, allocations: 21.32 MB / 1.392 GB, free: 95.32 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)