Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 176.4 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008877/0.0008878, allocations: 94 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.56e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5739/0.5739, allocations: 116.3 MB / 0.9732 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8858/1.46, allocations: 401.5 MB / 1.365 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/1.46, allocations: 102.1 kB / 1.365 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.315/2.775, allocations: 425.7 MB / 1.781 GB, free: 215.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.31e-07/2.775, allocations: 0 / 1.781 GB, free: 215.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000131/2.775, allocations: 44.72 kB / 1.781 GB, free: 215.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003758/2.779, allocations: 1.313 MB / 1.783 GB, free: 214.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/2.779, allocations: 7.906 kB / 1.783 GB, free: 214.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/2.78, allocations: 155.1 kB / 1.783 GB, free: 214.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/2.782, allocations: 0.8195 MB / 1.784 GB, free: 214 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/2.782, allocations: 20 kB / 1.784 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004109/2.783, allocations: 80 kB / 1.784 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007242/2.783, allocations: 382.5 kB / 1.784 GB, free: 213.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/2.784, allocations: 0.5229 MB / 1.784 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/2.784, allocations: 0 / 1.784 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/2.784, allocations: 0 / 1.784 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/2.784, allocations: 19.95 kB / 1.784 GB, free: 212.9 MB / 0.948 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.004202/2.788, allocations: 2.905 MB / 1.787 GB, free: 209.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/2.789, allocations: 303.6 kB / 1.788 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/2.789, allocations: 137.4 kB / 1.788 GB, free: 209.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/2.789, allocations: 348.3 kB / 1.788 GB, free: 209.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/2.789, allocations: 38.84 kB / 1.788 GB, free: 209 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/2.789, allocations: 0 / 1.788 GB, free: 209 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001232/2.79, allocations: 482.7 kB / 1.789 GB, free: 208.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/2.79, allocations: 55.41 kB / 1.789 GB, free: 208.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/2.791, allocations: 0.6273 MB / 1.789 GB, free: 207.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/2.791, allocations: 41.64 kB / 1.789 GB, free: 207.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/2.792, allocations: 0.5617 MB / 1.79 GB, free: 207.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/2.792, allocations: 106.4 kB / 1.79 GB, free: 207.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/2.792, allocations: 0 / 1.79 GB, free: 207.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.142e-05/2.792, allocations: 326 kB / 1.79 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/2.792, allocations: 153.5 kB / 1.79 GB, free: 206.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/2.793, allocations: 1.362 MB / 1.792 GB, free: 204.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/2.794, allocations: 384.6 kB / 1.792 GB, free: 204.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/2.794, allocations: 0 / 1.792 GB, free: 204.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001356/2.795, allocations: 0.6501 MB / 1.793 GB, free: 203.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001817/2.795, allocations: 0.8076 MB / 1.794 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/2.795, allocations: 4 kB / 1.794 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/2.795, allocations: 7.281 kB / 1.794 GB, free: 202.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/2.796, allocations: 207.4 kB / 1.794 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/2.798, allocations: 2.985 MB / 1.797 GB, free: 199.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003133/2.801, allocations: 0.8786 MB / 1.797 GB, free: 198.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/2.801, allocations: 31.98 kB / 1.798 GB, free: 198.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/2.801, allocations: 4 kB / 1.798 GB, free: 198.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001028/2.802, allocations: 485.1 kB / 1.798 GB, free: 198.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/2.802, allocations: 0 / 1.798 GB, free: 198.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.732e-06/2.802, allocations: 11.94 kB / 1.798 GB, free: 198.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/2.802, allocations: 156 kB / 1.798 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/2.802, allocations: 11.92 kB / 1.798 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/2.806, allocations: 0.8553 MB / 1.799 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/2.806, allocations: 31.97 kB / 1.799 GB, free: 197.2 MB / 0.948 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003044/2.806, allocations: 142.1 kB / 1.799 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/2.806, allocations: 82.88 kB / 1.799 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/2.807, allocations: 0.5314 MB / 1.8 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/2.807, allocations: 4 kB / 1.8 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/2.807, allocations: 0 / 1.8 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/2.808, allocations: 3.984 kB / 1.8 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/2.81, allocations: 1.222 MB / 1.801 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/2.81, allocations: 3.984 kB / 1.801 GB, free: 195.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/2.81, allocations: 123.1 kB / 1.801 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/2.81, allocations: 4 kB / 1.801 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/2.81, allocations: 7.984 kB / 1.801 GB, free: 195 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000778/2.811, allocations: 2.95 MB / 1.804 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/2.811, allocations: 4.031 kB / 1.804 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009962/2.812, allocations: 0.6389 MB / 1.805 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/2.812, allocations: 219.8 kB / 1.805 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/2.812, allocations: 0 / 1.805 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/2.813, allocations: 67.83 kB / 1.805 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/2.813, allocations: 23.97 kB / 1.805 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/2.813, allocations: 15.98 kB / 1.805 GB, free: 190.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004592/2.814, allocations: 472.1 kB / 1.805 GB, free: 190.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.814, allocations: 0 / 1.805 GB, free: 190.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001762/2.815, allocations: 0.5845 MB / 1.806 GB, free: 189.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008968/2.816, allocations: 0.5134 MB / 1.806 GB, free: 189.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001931/2.818, allocations: 0.7326 MB / 1.807 GB, free: 188.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/2.818, allocations: 0 / 1.807 GB, free: 188.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003814/2.819, allocations: 208.6 kB / 1.807 GB, free: 188.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/2.821, allocations: 402.8 kB / 1.808 GB, free: 188.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/2.822, allocations: 1.015 MB / 1.809 GB, free: 187 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/2.823, allocations: 1.047 MB / 1.81 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001332/2.824, allocations: 244 kB / 1.81 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/2.824, allocations: 63.42 kB / 1.81 GB, free: 185.7 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/2.824, allocations: 0 / 1.81 GB, free: 185.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03482/2.859, allocations: 24.71 MB / 1.834 GB, free: 161.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)