Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.933/1.933, allocations: 293 MB / 309 MB, free: 4.801 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.001019/0.001019, allocations: 187.8 kB / 378.7 MB, free: 1.008 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.963/1.963, allocations: 205.4 MB / 0.6383 GB, free: 8.223 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.0007788/0.0007788, allocations: 97.78 kB / 0.7527 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004463, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3007, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.546/1.847, allocations: 399.9 MB / 1.381 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/1.847, allocations: 101.4 kB / 1.381 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.4166/2.264, allocations: 174.4 MB / 1.551 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.975e-06/2.264, allocations: 0 / 1.551 GB, free: 186.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.085e-05/2.264, allocations: 16 kB / 1.551 GB, free: 186.1 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001951/2.266, allocations: 0.8191 MB / 1.552 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/2.266, allocations: 11.97 kB / 1.552 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/2.266, allocations: 56.38 kB / 1.552 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009936/2.267, allocations: 446.6 kB / 1.553 GB, free: 184.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/2.267, allocations: 20.81 kB / 1.553 GB, free: 184.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/2.268, allocations: 36.38 kB / 1.553 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/2.268, allocations: 211.4 kB / 1.553 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/2.268, allocations: 0 / 1.553 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/2.268, allocations: 8 kB / 1.553 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/2.268, allocations: 4 kB / 1.553 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/2.269, allocations: 177.6 kB / 1.553 GB, free: 184.2 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.001997/2.271, allocations: 0.9536 MB / 1.554 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/2.271, allocations: 134.6 kB / 1.554 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/2.271, allocations: 71.45 kB / 1.554 GB, free: 183 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/2.271, allocations: 340.4 kB / 1.555 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/2.271, allocations: 42.42 kB / 1.555 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/2.271, allocations: 0 / 1.555 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.0007774/2.272, allocations: 249 kB / 1.555 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/2.272, allocations: 55.41 kB / 1.555 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/2.273, allocations: 462 kB / 1.555 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/2.273, allocations: 37.7 kB / 1.555 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/2.273, allocations: 232.5 kB / 1.556 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/2.273, allocations: 55.23 kB / 1.556 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/2.273, allocations: 4 kB / 1.556 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/2.273, allocations: 354.8 kB / 1.556 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/2.274, allocations: 59.97 kB / 1.556 GB, free: 181 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/2.274, allocations: 186.5 kB / 1.556 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/2.274, allocations: 165.2 kB / 1.556 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/2.274, allocations: 3.938 kB / 1.556 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006237/2.275, allocations: 264.9 kB / 1.557 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/2.275, allocations: 104.6 kB / 1.557 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/2.275, allocations: 0 / 1.557 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/2.275, allocations: 4 kB / 1.557 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/2.275, allocations: 51.97 kB / 1.557 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/2.275, allocations: 4 kB / 1.557 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/2.276, allocations: 51.64 kB / 1.557 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/2.276, allocations: 8 kB / 1.557 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/2.276, allocations: 7.938 kB / 1.557 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004909/2.276, allocations: 187.8 kB / 1.557 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/2.276, allocations: 0 / 1.557 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/2.276, allocations: 7.922 kB / 1.557 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/2.277, allocations: 51.97 kB / 1.557 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/2.277, allocations: 4 kB / 1.557 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/2.277, allocations: 47.69 kB / 1.557 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/2.277, allocations: 8 kB / 1.557 GB, free: 179.8 MB / 0.9323 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.000234/2.277, allocations: 241.1 kB / 1.557 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/2.278, allocations: 47.44 kB / 1.557 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000645/2.278, allocations: 262.9 kB / 1.558 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/2.278, allocations: 4 kB / 1.558 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.278, allocations: 4 kB / 1.558 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/2.278, allocations: 0 / 1.558 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/2.279, allocations: 0.7122 MB / 1.558 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/2.279, allocations: 4 kB / 1.558 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/2.28, allocations: 27.98 kB / 1.558 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/2.28, allocations: 4 kB / 1.558 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/2.28, allocations: 11.94 kB / 1.558 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/2.28, allocations: 7.984 kB / 1.558 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/2.28, allocations: 0 / 1.558 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/2.28, allocations: 346.4 kB / 1.559 GB, free: 178 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/2.28, allocations: 148.4 kB / 1.559 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.84e-05/2.28, allocations: 4 kB / 1.559 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/2.281, allocations: 27.88 kB / 1.559 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/2.281, allocations: 23.92 kB / 1.559 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/2.281, allocations: 4 kB / 1.559 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004353/2.281, allocations: 334.8 kB / 1.559 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.01e-07/2.281, allocations: 3.938 kB / 1.559 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001137/2.283, allocations: 223.7 kB / 1.559 GB, free: 177.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 () * 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.001741/2.284, allocations: 0.5712 MB / 1.56 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008224/2.285, allocations: 290.6 kB / 1.56 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2.285, allocations: 0 / 1.56 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/2.285, allocations: 87.83 kB / 1.56 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/2.287, allocations: 221.9 kB / 1.561 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/2.289, allocations: 0.8348 MB / 1.561 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/2.289, allocations: 0.8233 MB / 1.562 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004608/2.289, allocations: 87.55 kB / 1.562 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/2.29, allocations: 47.36 kB / 1.562 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of SimCode: time 3e-07/2.29, allocations: 0 / 1.562 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.02194/2.312, allocations: 9.453 MB / 1.572 GB, free: 165 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)