Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7348/0.7348, allocations: 127.3 MB / 139.8 MB, free: 15.49 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.00137/0.001371, allocations: 176.8 kB / 169.7 MB, free: 1.75 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.027/2.027, allocations: 205.1 MB / 404.5 MB, free: 1.648 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.001059/0.001059, allocations: 86.22 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.651e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1827, allocations: 76.75 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.338/1.521, allocations: 363.6 MB / 0.9833 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.521, allocations: 105.1 kB / 0.9834 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7636/2.285, allocations: 170.8 MB / 1.15 GB, free: 171 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.354e-06/2.285, allocations: 0 / 1.15 GB, free: 171 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.612e-05/2.285, allocations: 15.75 kB / 1.15 GB, free: 171 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001569/2.286, allocations: 0.7702 MB / 1.151 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/2.286, allocations: 9.234 kB / 1.151 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/2.287, allocations: 57.7 kB / 1.151 GB, free: 170.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/2.288, allocations: 455.3 kB / 1.151 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/2.288, allocations: 21.81 kB / 1.151 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.952e-05/2.288, allocations: 29.62 kB / 1.151 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/2.289, allocations: 295.5 kB / 1.152 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/2.289, allocations: 0.6562 kB / 1.152 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/2.289, allocations: 17.39 kB / 1.152 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/2.289, allocations: 5.875 kB / 1.152 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006783/2.29, allocations: 203.4 kB / 1.152 GB, free: 170.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.002688/2.292, allocations: 1.281 MB / 1.153 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/2.293, allocations: 172.5 kB / 1.153 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/2.293, allocations: 56.89 kB / 1.153 GB, free: 169.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/2.295, allocations: 1.296 MB / 1.155 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/2.295, allocations: 34.66 kB / 1.155 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.365e-06/2.295, allocations: 0 / 1.155 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.001138/2.296, allocations: 239.6 kB / 1.155 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/2.296, allocations: 54.16 kB / 1.155 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009349/2.297, allocations: 0.5075 MB / 1.155 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/2.297, allocations: 28.55 kB / 1.155 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/2.298, allocations: 275.1 kB / 1.156 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/2.298, allocations: 51.27 kB / 1.156 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/2.298, allocations: 5.312 kB / 1.156 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001422/2.298, allocations: 357.6 kB / 1.156 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/2.298, allocations: 60.27 kB / 1.156 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/2.298, allocations: 204.8 kB / 1.156 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/2.299, allocations: 89.56 kB / 1.156 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/2.299, allocations: 3.406 kB / 1.156 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006032/2.299, allocations: 293.2 kB / 1.157 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002774/2.3, allocations: 0.7823 MB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/2.3, allocations: 2.531 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/2.3, allocations: 3.875 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/2.3, allocations: 77 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/2.3, allocations: 6.188 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/2.3, allocations: 60.56 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/2.301, allocations: 15.95 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/2.301, allocations: 4.5 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004085/2.301, allocations: 195.9 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/2.301, allocations: 3 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/2.301, allocations: 3.906 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/2.301, allocations: 62.3 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/2.301, allocations: 3.656 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/2.302, allocations: 46.09 kB / 1.158 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/2.302, allocations: 12.94 kB / 1.158 GB, free: 166.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001002/2.302, allocations: 125.7 kB / 1.158 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.269e-05/2.302, allocations: 46.44 kB / 1.158 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/2.302, allocations: 218.7 kB / 1.158 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/2.302, allocations: 2.891 kB / 1.158 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/2.302, allocations: 0 / 1.158 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/2.302, allocations: 2.297 kB / 1.158 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/2.303, allocations: 390.3 kB / 1.159 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/2.303, allocations: 1.25 kB / 1.159 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/2.303, allocations: 41.67 kB / 1.159 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/2.303, allocations: 0.9688 kB / 1.159 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/2.303, allocations: 2.766 kB / 1.159 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/2.303, allocations: 0 / 1.159 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/2.303, allocations: 1.656 kB / 1.159 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/2.303, allocations: 229.1 kB / 1.159 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/2.304, allocations: 147.8 kB / 1.159 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/2.304, allocations: 6.375 kB / 1.159 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/2.304, allocations: 30.16 kB / 1.159 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/2.304, allocations: 11.47 kB / 1.159 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/2.304, allocations: 6.672 kB / 1.159 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005716/2.305, allocations: 432.4 kB / 1.16 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/2.305, allocations: 0 / 1.16 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001008/2.306, allocations: 260.2 kB / 1.16 GB, free: 166.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001293/2.307, allocations: 0.573 MB / 1.16 GB, free: 166 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005817/2.308, allocations: 287.9 kB / 1.161 GB, free: 166 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/2.308, allocations: 0 / 1.161 GB, free: 166 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/2.308, allocations: 45.48 kB / 1.161 GB, free: 166 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/2.309, allocations: 248 kB / 1.161 GB, free: 166 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/2.313, allocations: 0.8457 MB / 1.162 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/2.313, allocations: 0.8579 MB / 1.163 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000755/2.314, allocations: 171.7 kB / 1.163 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/2.314, allocations: 30.75 kB / 1.163 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.403e-06/2.314, allocations: 3.156 kB / 1.163 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.02553/2.34, allocations: 12.4 MB / 1.175 GB, free: 164.9 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)