Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001208/0.001208, allocations: 184.9 kB / 361.4 MB, free: 6.812 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.444/1.444, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008052/0.0008052, allocations: 94.22 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.691e-05, allocations: 4 kB / 0.8517 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.6146, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.621, allocations: 400.6 MB / 1.356 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.621, allocations: 95.34 kB / 1.356 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.449/3.071, allocations: 425.7 MB / 1.771 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.663e-06/3.071, allocations: 0 / 1.771 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001265/3.071, allocations: 38.89 kB / 1.771 GB, free: 200.7 MB / 0.9323 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.003167/3.074, allocations: 1.317 MB / 1.773 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/3.074, allocations: 12.03 kB / 1.773 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000525/3.075, allocations: 154.4 kB / 1.773 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/3.077, allocations: 0.8073 MB / 1.774 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/3.077, allocations: 23.94 kB / 1.774 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/3.077, allocations: 76 kB / 1.774 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001013/3.078, allocations: 398.5 kB / 1.774 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/3.079, allocations: 0.5161 MB / 1.775 GB, free: 197.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/3.079, allocations: 3.938 kB / 1.775 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/3.079, allocations: 0 / 1.775 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/3.079, allocations: 19.95 kB / 1.775 GB, free: 197.3 MB / 0.9323 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.005653/3.085, allocations: 2.892 MB / 1.777 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/3.086, allocations: 311.3 kB / 1.778 GB, free: 194 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/3.086, allocations: 137.1 kB / 1.778 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/3.086, allocations: 348.4 kB / 1.778 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/3.086, allocations: 34.84 kB / 1.778 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.855e-06/3.086, allocations: 4 kB / 1.778 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001889/3.088, allocations: 478.8 kB / 1.779 GB, free: 192.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/3.088, allocations: 51.41 kB / 1.779 GB, free: 192.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/3.089, allocations: 0.6273 MB / 1.779 GB, free: 192.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/3.089, allocations: 33.7 kB / 1.779 GB, free: 192.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/3.09, allocations: 0.5514 MB / 1.78 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/3.09, allocations: 114.3 kB / 1.78 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/3.09, allocations: 0 / 1.78 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.877e-05/3.09, allocations: 326 kB / 1.78 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/3.09, allocations: 149.5 kB / 1.781 GB, free: 191 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/3.092, allocations: 1.374 MB / 1.782 GB, free: 189.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/3.093, allocations: 372.6 kB / 1.782 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/3.093, allocations: 4 kB / 1.782 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002038/3.095, allocations: 0.6462 MB / 1.783 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/3.095, allocations: 0.8154 MB / 1.784 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/3.095, allocations: 0 / 1.784 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/3.095, allocations: 8 kB / 1.784 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/3.097, allocations: 202.9 kB / 1.784 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/3.098, allocations: 2.989 MB / 1.787 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004903/3.103, allocations: 0.8787 MB / 1.788 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/3.104, allocations: 27.98 kB / 1.788 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/3.104, allocations: 6.5 kB / 1.788 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001632/3.105, allocations: 489 kB / 1.788 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/3.105, allocations: 0 / 1.788 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/3.105, allocations: 4 kB / 1.788 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/3.106, allocations: 164 kB / 1.788 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/3.106, allocations: 7.938 kB / 1.788 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005056/3.111, allocations: 0.863 MB / 1.789 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/3.111, allocations: 27.98 kB / 1.789 GB, free: 181.6 MB / 0.9323 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.0004368/3.112, allocations: 142.1 kB / 1.789 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/3.112, allocations: 86.88 kB / 1.789 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/3.114, allocations: 0.5417 MB / 1.79 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/3.114, allocations: 4 kB / 1.79 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/3.114, allocations: 3.938 kB / 1.79 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/3.114, allocations: 0 / 1.79 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/3.117, allocations: 1.215 MB / 1.791 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/3.117, allocations: 3.703 kB / 1.791 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007226/3.118, allocations: 115.8 kB / 1.791 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/3.118, allocations: 0 / 1.791 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/3.118, allocations: 12 kB / 1.791 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/3.119, allocations: 2.946 MB / 1.794 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/3.119, allocations: 3.938 kB / 1.794 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/3.121, allocations: 0.6468 MB / 1.795 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/3.121, allocations: 207.8 kB / 1.795 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/3.121, allocations: 7.984 kB / 1.795 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/3.122, allocations: 71.77 kB / 1.795 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.651e-05/3.122, allocations: 23.97 kB / 1.795 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/3.122, allocations: 16 kB / 1.795 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007977/3.123, allocations: 480 kB / 1.796 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.3e-07/3.123, allocations: 0 / 1.796 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003539/3.126, allocations: 0.5772 MB / 1.796 GB, free: 174.3 MB / 0.9323 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.001386/3.128, allocations: 0.5129 MB / 1.797 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00316/3.131, allocations: 0.7439 MB / 1.797 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/3.131, allocations: 0 / 1.797 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/3.132, allocations: 200.8 kB / 1.798 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/3.135, allocations: 402.2 kB / 1.798 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/3.137, allocations: 1.011 MB / 1.799 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/3.137, allocations: 1.047 MB / 1.8 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001964/3.139, allocations: 251.7 kB / 1.8 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/3.14, allocations: 59.42 kB / 1.8 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of SimCode: time 5.61e-07/3.14, allocations: 0 / 1.8 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.04853/3.188, allocations: 24.71 MB / 1.824 GB, free: 145.8 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)