Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.578/2.578, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.001509, allocations: 168.9 kB / 360.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.3 MB / 0.6192 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009974/0.0009971, allocations: 92.2 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.361e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.794/0.794, allocations: 115.2 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/2.087, allocations: 400.4 MB / 1.354 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/2.087, allocations: 95.31 kB / 1.355 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.158/4.245, allocations: 425.7 MB / 1.77 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.154e-06/4.245, allocations: 4 kB / 1.77 GB, free: 202.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001496/4.246, allocations: 39.23 kB / 1.77 GB, free: 202.4 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.003637/4.249, allocations: 1.319 MB / 1.772 GB, free: 201 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/4.249, allocations: 12.02 kB / 1.772 GB, free: 201 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008214/4.25, allocations: 150.5 kB / 1.772 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/4.253, allocations: 0.8188 MB / 1.773 GB, free: 200 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/4.253, allocations: 20 kB / 1.773 GB, free: 200 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004382/4.254, allocations: 80 kB / 1.773 GB, free: 199.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001121/4.255, allocations: 386.5 kB / 1.773 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/4.256, allocations: 0.5199 MB / 1.774 GB, free: 199 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/4.256, allocations: 0 / 1.774 GB, free: 199 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/4.256, allocations: 3.953 kB / 1.774 GB, free: 199 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/4.256, allocations: 16 kB / 1.774 GB, free: 198.9 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.01039/4.267, allocations: 2.909 MB / 1.776 GB, free: 195.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/4.268, allocations: 307.4 kB / 1.777 GB, free: 195.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/4.269, allocations: 129.4 kB / 1.777 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/4.269, allocations: 347.8 kB / 1.777 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/4.269, allocations: 38.84 kB / 1.777 GB, free: 195 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 5.24e-06/4.269, allocations: 3.938 kB / 1.777 GB, free: 195 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.00331/4.272, allocations: 478.8 kB / 1.778 GB, free: 194.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/4.272, allocations: 67.3 kB / 1.778 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/4.274, allocations: 0.6273 MB / 1.778 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005272/4.275, allocations: 33.7 kB / 1.778 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000824/4.275, allocations: 0.5397 MB / 1.779 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/4.276, allocations: 110.4 kB / 1.779 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/4.276, allocations: 4 kB / 1.779 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/4.276, allocations: 326 kB / 1.779 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/4.276, allocations: 149.5 kB / 1.779 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/4.279, allocations: 1.366 MB / 1.781 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/4.281, allocations: 376.6 kB / 1.781 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/4.281, allocations: 0 / 1.781 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003813/4.285, allocations: 0.6501 MB / 1.782 GB, free: 189.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000241/4.286, allocations: 0.8192 MB / 1.783 GB, free: 189 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/4.286, allocations: 4 kB / 1.783 GB, free: 189 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/4.286, allocations: 4 kB / 1.783 GB, free: 189 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/4.289, allocations: 203.6 kB / 1.783 GB, free: 188.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/4.291, allocations: 2.987 MB / 1.786 GB, free: 185.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008753/4.3, allocations: 0.8746 MB / 1.787 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/4.3, allocations: 31.5 kB / 1.787 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/4.3, allocations: 4 kB / 1.787 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002676/4.303, allocations: 485.1 kB / 1.787 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/4.303, allocations: 3.984 kB / 1.787 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/4.303, allocations: 8 kB / 1.787 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/4.305, allocations: 163.8 kB / 1.787 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/4.305, allocations: 4 kB / 1.787 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008372/4.313, allocations: 0.8633 MB / 1.788 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/4.313, allocations: 23.98 kB / 1.788 GB, free: 183.2 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.0006657/4.314, allocations: 137.9 kB / 1.788 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/4.315, allocations: 82.88 kB / 1.788 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/4.318, allocations: 0.5533 MB / 1.789 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/4.318, allocations: 4 kB / 1.789 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/4.318, allocations: 0 / 1.789 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/4.318, allocations: 3.984 kB / 1.789 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/4.322, allocations: 1.213 MB / 1.79 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/4.322, allocations: 0 / 1.79 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/4.324, allocations: 126.4 kB / 1.79 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/4.324, allocations: 4 kB / 1.79 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/4.324, allocations: 4 kB / 1.79 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/4.325, allocations: 2.95 MB / 1.793 GB, free: 178 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/4.325, allocations: 4.031 kB / 1.793 GB, free: 178 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/4.328, allocations: 0.6391 MB / 1.794 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005918/4.329, allocations: 215.8 kB / 1.794 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/4.329, allocations: 3.984 kB / 1.794 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/4.33, allocations: 63.83 kB / 1.794 GB, free: 177 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/4.33, allocations: 27.97 kB / 1.794 GB, free: 177 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/4.33, allocations: 16 kB / 1.794 GB, free: 177 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001104/4.331, allocations: 476 kB / 1.794 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.42e-07/4.332, allocations: 0 / 1.794 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003588/4.335, allocations: 0.5772 MB / 1.795 GB, free: 175.9 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.001728/4.337, allocations: 0.5192 MB / 1.796 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004035/4.341, allocations: 0.7406 MB / 1.796 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/4.341, allocations: 0 / 1.796 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008345/4.342, allocations: 203.7 kB / 1.796 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/4.346, allocations: 394.7 kB / 1.797 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/4.348, allocations: 1.023 MB / 1.798 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/4.349, allocations: 1.051 MB / 1.799 GB, free: 172 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002378/4.351, allocations: 247.5 kB / 1.799 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/4.352, allocations: 55.42 kB / 1.799 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.693e-06/4.352, allocations: 0 / 1.799 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.0587/4.41, allocations: 24.72 MB / 1.823 GB, free: 147.5 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)