Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 285.4 MB / 298 MB, free: 5.91 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.001022/0.001022, allocations: 180.9 kB / 366.4 MB, free: 2.078 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.327/1.327, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.0008359/0.0008357, allocations: 93.41 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.203e-05, allocations: 4 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6208/0.6209, allocations: 115.3 MB / 0.9709 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8815/1.502, allocations: 403.2 MB / 1.365 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/1.503, allocations: 98.58 kB / 1.365 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3046/1.807, allocations: 174.9 MB / 1.536 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.807, allocations: 4 kB / 1.536 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.98e-05/1.807, allocations: 19.98 kB / 1.536 GB, free: 10.68 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001453/1.809, allocations: 0.763 MB / 1.536 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.809, allocations: 8.031 kB / 1.536 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/1.809, allocations: 67.23 kB / 1.536 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/1.81, allocations: 453.4 kB / 1.537 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/1.81, allocations: 24.56 kB / 1.537 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/1.81, allocations: 32 kB / 1.537 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/1.811, allocations: 258.3 kB / 1.537 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.811, allocations: 0 / 1.537 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/1.811, allocations: 12 kB / 1.537 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/1.811, allocations: 12 kB / 1.537 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/1.811, allocations: 162.2 kB / 1.537 GB, free: 8.801 MB / 0.8698 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.002169/1.813, allocations: 1.507 MB / 1.539 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/1.814, allocations: 155.8 kB / 1.539 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/1.814, allocations: 64.94 kB / 1.539 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/1.815, allocations: 1.307 MB / 1.54 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/1.815, allocations: 42.52 kB / 1.54 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.815, allocations: 0 / 1.54 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0003811/1.816, allocations: 167.5 kB / 1.54 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/1.816, allocations: 51.41 kB / 1.54 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/1.816, allocations: 0.5085 MB / 1.541 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/1.816, allocations: 37.7 kB / 1.541 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/1.817, allocations: 271.8 kB / 1.541 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/1.817, allocations: 59.19 kB / 1.541 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/1.817, allocations: 4 kB / 1.541 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.817, allocations: 354.8 kB / 1.542 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/1.817, allocations: 60.55 kB / 1.542 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/1.817, allocations: 214.8 kB / 1.542 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/1.817, allocations: 91.84 kB / 1.542 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.817, allocations: 0 / 1.542 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004347/1.818, allocations: 290.9 kB / 1.542 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003394/1.818, allocations: 0.9562 MB / 1.543 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.818, allocations: 4 kB / 1.543 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.818, allocations: 4 kB / 1.543 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/1.819, allocations: 63.91 kB / 1.543 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.819, allocations: 4 kB / 1.543 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/1.819, allocations: 55.66 kB / 1.543 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/1.819, allocations: 19.98 kB / 1.543 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/1.819, allocations: 4 kB / 1.543 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003443/1.819, allocations: 206.3 kB / 1.544 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/1.819, allocations: 4 kB / 1.544 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/1.819, allocations: 4 kB / 1.544 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/1.82, allocations: 63.91 kB / 1.544 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/1.82, allocations: 7.938 kB / 1.544 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/1.82, allocations: 51.88 kB / 1.544 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/1.82, allocations: 15.98 kB / 1.544 GB, free: 1.699 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 9.556e-05/1.82, allocations: 128.8 kB / 1.544 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/1.82, allocations: 47.44 kB / 1.544 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/1.821, allocations: 229.7 kB / 1.544 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/1.821, allocations: 8 kB / 1.544 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.821, allocations: 0 / 1.544 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.821, allocations: 0 / 1.544 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008906/1.822, allocations: 0.7277 MB / 1.545 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/1.822, allocations: 3.938 kB / 1.545 GB, free: 492 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/1.822, allocations: 36.11 kB / 1.545 GB, free: 456 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.822, allocations: 0 / 1.545 GB, free: 456 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/1.822, allocations: 8 kB / 1.545 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.822, allocations: 0 / 1.545 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.822, allocations: 11.94 kB / 1.545 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/1.822, allocations: 374.2 kB / 1.545 GB, free: 8 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/1.822, allocations: 156.3 kB / 1.545 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/1.822, allocations: 8 kB / 1.545 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/1.823, allocations: 19.98 kB / 1.545 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/1.823, allocations: 15.98 kB / 1.545 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/1.823, allocations: 11.94 kB / 1.545 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004389/1.823, allocations: 405.5 kB / 1.546 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.61e-07/1.823, allocations: 4 kB / 1.546 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008874/1.824, allocations: 275.6 kB / 1.546 GB, free: 15.12 MB / 0.8855 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 (17): * Single equations (assignments): 15 * 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.001316/1.825, allocations: 0.5717 MB / 1.547 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005248/1.826, allocations: 313.7 kB / 1.547 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.826, allocations: 0 / 1.547 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/1.826, allocations: 75.86 kB / 1.547 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/1.827, allocations: 258.3 kB / 1.547 GB, free: 14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/1.828, allocations: 0.5633 MB / 1.548 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/1.829, allocations: 0.8558 MB / 1.549 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005575/1.829, allocations: 184.1 kB / 1.549 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/1.829, allocations: 31.42 kB / 1.549 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/1.829, allocations: 0 / 1.549 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.01984/1.849, allocations: 12.18 MB / 1.561 GB, free: 216 kB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)