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.721/1.721, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001132/0.001132, allocations: 181 kB / 371.8 MB, free: 10.27 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.716/1.716, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009313/0.0009314, allocations: 106.8 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004086, allocations: 16.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.37, allocations: 401.3 MB / 1.371 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004655/1.37, allocations: 103 kB / 1.371 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.869/3.24, allocations: 430.3 MB / 1.792 GB, free: 215.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.983e-06/3.24, allocations: 3.703 kB / 1.792 GB, free: 215.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001322/3.24, allocations: 41.41 kB / 1.792 GB, free: 215.2 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.003761/3.244, allocations: 1.502 MB / 1.793 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/3.244, allocations: 13.38 kB / 1.793 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005518/3.244, allocations: 148.8 kB / 1.793 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/3.246, allocations: 0.833 MB / 1.794 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/3.247, allocations: 84.47 kB / 1.794 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/3.247, allocations: 122 kB / 1.794 GB, free: 214.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/3.248, allocations: 0.6229 MB / 1.795 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/3.248, allocations: 2.219 kB / 1.795 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/3.248, allocations: 24.36 kB / 1.795 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/3.248, allocations: 13.72 kB / 1.795 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/3.249, allocations: 476.3 kB / 1.795 GB, free: 214.3 MB / 0.9323 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.005894/3.255, allocations: 3.067 MB / 1.798 GB, free: 213.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/3.256, allocations: 333.2 kB / 1.799 GB, free: 213 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/3.256, allocations: 344.2 kB / 1.799 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/3.256, allocations: 37.48 kB / 1.799 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.856e-06/3.256, allocations: 2.281 kB / 1.799 GB, free: 212.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.0017/3.258, allocations: 0.5629 MB / 1.8 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/3.258, allocations: 54.06 kB / 1.8 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/3.259, allocations: 0.7743 MB / 1.8 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/3.259, allocations: 61.73 kB / 1.801 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/3.26, allocations: 0.5516 MB / 1.801 GB, free: 212.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/3.26, allocations: 115.8 kB / 1.801 GB, free: 212 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/3.26, allocations: 11.94 kB / 1.801 GB, free: 212 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.27e-05/3.26, allocations: 329.2 kB / 1.802 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/3.26, allocations: 184.4 kB / 1.802 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/3.262, allocations: 1.426 MB / 1.803 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/3.263, allocations: 326 kB / 1.803 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/3.263, allocations: 0 / 1.803 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001355/3.264, allocations: 0.6477 MB / 1.804 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/3.264, allocations: 0.8081 MB / 1.805 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/3.264, allocations: 5.156 kB / 1.805 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/3.264, allocations: 8.531 kB / 1.805 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/3.265, allocations: 199.6 kB / 1.805 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/3.267, allocations: 2.963 MB / 1.808 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/3.271, allocations: 0.9108 MB / 1.809 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/3.271, allocations: 31.52 kB / 1.809 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/3.271, allocations: 5.531 kB / 1.809 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/3.272, allocations: 0.5058 MB / 1.809 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/3.272, allocations: 1.906 kB / 1.809 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/3.272, allocations: 5.062 kB / 1.809 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/3.273, allocations: 162.7 kB / 1.809 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/3.273, allocations: 14.22 kB / 1.809 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003793/3.277, allocations: 0.898 MB / 1.81 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/3.277, allocations: 28.89 kB / 1.81 GB, free: 206.8 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * 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.0008036/3.277, allocations: 329.9 kB / 1.811 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/3.278, allocations: 97.91 kB / 1.811 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/3.279, allocations: 0.5414 MB / 1.811 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/3.279, allocations: 7.906 kB / 1.811 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/3.279, allocations: 2.906 kB / 1.811 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/3.279, allocations: 4.844 kB / 1.811 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/3.281, allocations: 1.272 MB / 1.813 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/3.281, allocations: 1.094 kB / 1.813 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/3.282, allocations: 119.7 kB / 1.813 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/3.282, allocations: 3.062 kB / 1.813 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/3.282, allocations: 11.72 kB / 1.813 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009083/3.283, allocations: 2.947 MB / 1.816 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/3.283, allocations: 1.031 kB / 1.816 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/3.284, allocations: 0.6483 MB / 1.816 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/3.284, allocations: 223.7 kB / 1.816 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/3.284, allocations: 8.891 kB / 1.816 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/3.285, allocations: 71.22 kB / 1.817 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/3.285, allocations: 26.81 kB / 1.817 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/3.285, allocations: 13.41 kB / 1.817 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008481/3.286, allocations: 0.5867 MB / 1.817 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.8e-07/3.286, allocations: 0 / 1.817 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002389/3.288, allocations: 0.6187 MB / 1.818 GB, free: 202.7 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 () * Number of clocked 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.0009639/3.289, allocations: 0.5063 MB / 1.818 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002425/3.292, allocations: 0.8246 MB / 1.819 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/3.292, allocations: 0 / 1.819 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004852/3.292, allocations: 233.5 kB / 1.819 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/3.295, allocations: 485.1 kB / 1.82 GB, free: 202.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/3.297, allocations: 1.749 MB / 1.821 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/3.297, allocations: 1.052 MB / 1.822 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001418/3.299, allocations: 201.9 kB / 1.823 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/3.299, allocations: 82.17 kB / 1.823 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.102e-06/3.299, allocations: 2.562 kB / 1.823 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.04839/3.347, allocations: 27.63 MB / 1.85 GB, free: 200.4 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)