Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4587/0.4587, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 348.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008458, allocations: 96.38 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004274, allocations: 12 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3746, allocations: 71.02 MB / 0.5595 GB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6624/1.037, allocations: 347.9 MB / 0.8992 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.037, allocations: 96.95 kB / 0.8993 GB, free: 15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5648/1.602, allocations: 177.7 MB / 1.073 GB, free: 79.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.963e-06/1.602, allocations: 0 / 1.073 GB, free: 79.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.272e-05/1.602, allocations: 19.98 kB / 1.073 GB, free: 79.04 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001354/1.604, allocations: 0.8255 MB / 1.074 GB, free: 78.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/1.604, allocations: 8.031 kB / 1.074 GB, free: 78.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/1.604, allocations: 56.28 kB / 1.074 GB, free: 78.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007067/1.605, allocations: 446.5 kB / 1.074 GB, free: 77.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/1.605, allocations: 20.81 kB / 1.074 GB, free: 77.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/1.605, allocations: 32.38 kB / 1.074 GB, free: 77.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/1.605, allocations: 219.4 kB / 1.074 GB, free: 77.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.605, allocations: 0 / 1.074 GB, free: 77.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/1.605, allocations: 8 kB / 1.074 GB, free: 77.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.605, allocations: 7.938 kB / 1.074 GB, free: 77.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/1.605, allocations: 173.6 kB / 1.075 GB, free: 77.16 MB / 0.5886 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.001451/1.607, allocations: 0.9575 MB / 1.076 GB, free: 76.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/1.607, allocations: 130.6 kB / 1.076 GB, free: 75.99 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/1.607, allocations: 76.81 kB / 1.076 GB, free: 75.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/1.608, allocations: 340.4 kB / 1.076 GB, free: 75.51 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/1.608, allocations: 38.44 kB / 1.076 GB, free: 75.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/1.608, allocations: 0 / 1.076 GB, free: 75.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0005971/1.608, allocations: 255.9 kB / 1.076 GB, free: 75.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/1.608, allocations: 55.41 kB / 1.076 GB, free: 75.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/1.609, allocations: 470 kB / 1.077 GB, free: 74.67 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/1.609, allocations: 33.7 kB / 1.077 GB, free: 74.63 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.609, allocations: 228.6 kB / 1.077 GB, free: 74.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/1.609, allocations: 55.2 kB / 1.077 GB, free: 74.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/1.609, allocations: 4 kB / 1.077 GB, free: 74.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/1.609, allocations: 350.8 kB / 1.077 GB, free: 73.99 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/1.609, allocations: 67.95 kB / 1.078 GB, free: 73.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/1.609, allocations: 179 kB / 1.078 GB, free: 73.71 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/1.61, allocations: 172.6 kB / 1.078 GB, free: 73.54 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.61, allocations: 0 / 1.078 GB, free: 73.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00045/1.61, allocations: 252.9 kB / 1.078 GB, free: 73.28 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/1.61, allocations: 110.7 kB / 1.078 GB, free: 73.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.61, allocations: 3.938 kB / 1.078 GB, free: 73.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.61, allocations: 4 kB / 1.078 GB, free: 73.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/1.61, allocations: 43.97 kB / 1.078 GB, free: 73.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.61, allocations: 7.922 kB / 1.078 GB, free: 73.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/1.611, allocations: 55.66 kB / 1.078 GB, free: 73.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/1.611, allocations: 15.98 kB / 1.078 GB, free: 73.03 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/1.611, allocations: 9.5 kB / 1.078 GB, free: 73.02 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003525/1.611, allocations: 183.8 kB / 1.079 GB, free: 72.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/1.611, allocations: 0 / 1.079 GB, free: 72.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-06/1.611, allocations: 3.938 kB / 1.079 GB, free: 72.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/1.611, allocations: 47.97 kB / 1.079 GB, free: 72.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/1.611, allocations: 3.938 kB / 1.079 GB, free: 72.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/1.612, allocations: 51.89 kB / 1.079 GB, free: 72.74 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/1.612, allocations: 16 kB / 1.079 GB, free: 72.72 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0002131/1.612, allocations: 245.1 kB / 1.079 GB, free: 72.47 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/1.612, allocations: 47.42 kB / 1.079 GB, free: 72.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005825/1.613, allocations: 256.4 kB / 1.079 GB, free: 72.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.613, allocations: 7.984 kB / 1.079 GB, free: 72.17 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.613, allocations: 4 kB / 1.079 GB, free: 72.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.613, allocations: 0 / 1.079 GB, free: 72.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/1.614, allocations: 0.7199 MB / 1.08 GB, free: 71.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.614, allocations: 4.125 kB / 1.08 GB, free: 71.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/1.614, allocations: 31.92 kB / 1.08 GB, free: 71.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.614, allocations: 4 kB / 1.08 GB, free: 71.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/1.614, allocations: 3.984 kB / 1.08 GB, free: 71.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/1.614, allocations: 4 kB / 1.08 GB, free: 71.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.614, allocations: 0 / 1.08 GB, free: 71.33 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/1.615, allocations: 346.3 kB / 1.08 GB, free: 70.96 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/1.615, allocations: 152.4 kB / 1.08 GB, free: 70.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/1.615, allocations: 12 kB / 1.08 GB, free: 70.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/1.615, allocations: 19.97 kB / 1.08 GB, free: 70.76 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/1.615, allocations: 19.92 kB / 1.08 GB, free: 70.74 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/1.615, allocations: 4 kB / 1.08 GB, free: 70.74 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000365/1.616, allocations: 342.8 kB / 1.081 GB, free: 70.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.616, allocations: 0 / 1.081 GB, free: 70.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001/1.617, allocations: 231.6 kB / 1.081 GB, free: 70.18 MB / 0.5886 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00137/1.618, allocations: 0.5831 MB / 1.082 GB, free: 69.74 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006549/1.619, allocations: 287.7 kB / 1.082 GB, free: 69.46 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.619, allocations: 0 / 1.082 GB, free: 69.46 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/1.619, allocations: 83.89 kB / 1.082 GB, free: 69.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.62, allocations: 222.4 kB / 1.082 GB, free: 69.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/1.621, allocations: 0.8446 MB / 1.083 GB, free: 68.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/1.622, allocations: 0.8272 MB / 1.084 GB, free: 67.41 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003568/1.622, allocations: 87.23 kB / 1.084 GB, free: 67.33 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/1.622, allocations: 39.42 kB / 1.084 GB, free: 67.29 MB / 0.5886 GB Notification: Performance of SimCode: time 6.12e-07/1.622, allocations: 3.938 kB / 1.084 GB, free: 67.29 MB / 0.5886 GB Notification: Performance of Templates: time 0.01511/1.637, allocations: 9.393 MB / 1.093 GB, free: 58 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)