Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 288.4 MB / 304.3 MB, free: 8.066 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.0009326/0.0009326, allocations: 176.5 kB / 372.9 MB, free: 10.14 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.428/1.428, allocations: 205.4 MB / 0.6317 GB, free: 9.863 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.0007088/0.000709, allocations: 106.1 kB / 0.745 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005386/0.0005386, allocations: 12.25 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2574, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9131/1.171, allocations: 398.8 MB / 1.37 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.171, allocations: 108.7 kB / 1.37 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.147/2.318, allocations: 408 MB / 1.769 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.104e-06/2.318, allocations: 0 / 1.769 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.928e-05/2.318, allocations: 31.98 kB / 1.769 GB, free: 13.04 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002011/2.32, allocations: 1.176 MB / 1.77 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/2.32, allocations: 12.03 kB / 1.77 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/2.32, allocations: 99.81 kB / 1.77 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/2.321, allocations: 0.6062 MB / 1.771 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/2.321, allocations: 45.38 kB / 1.771 GB, free: 11 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/2.321, allocations: 56.38 kB / 1.771 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/2.322, allocations: 399 kB / 1.771 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/2.322, allocations: 7.938 kB / 1.771 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/2.322, allocations: 20 kB / 1.771 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/2.322, allocations: 12 kB / 1.771 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/2.322, allocations: 299.8 kB / 1.771 GB, free: 10.22 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.002295/2.325, allocations: 1.854 MB / 1.773 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/2.325, allocations: 164.8 kB / 1.773 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/2.325, allocations: 89.16 kB / 1.773 GB, free: 7.957 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/2.325, allocations: 340.5 kB / 1.774 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/2.325, allocations: 50.44 kB / 1.774 GB, free: 7.492 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/2.325, allocations: 0 / 1.774 GB, free: 7.492 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.0006202/2.326, allocations: 305.2 kB / 1.774 GB, free: 7.188 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/2.326, allocations: 67.36 kB / 1.774 GB, free: 7.109 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/2.327, allocations: 0.6608 MB / 1.775 GB, free: 6.438 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/2.327, allocations: 37.81 kB / 1.775 GB, free: 6.395 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/2.327, allocations: 372.5 kB / 1.775 GB, free: 6.023 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/2.327, allocations: 71.08 kB / 1.775 GB, free: 5.953 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/2.327, allocations: 4 kB / 1.775 GB, free: 5.949 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/2.327, allocations: 374.8 kB / 1.776 GB, free: 5.574 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/2.327, allocations: 108.7 kB / 1.776 GB, free: 5.465 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/2.328, allocations: 222.9 kB / 1.776 GB, free: 5.203 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/2.328, allocations: 229.6 kB / 1.776 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/2.328, allocations: 0 / 1.776 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005664/2.329, allocations: 394.2 kB / 1.777 GB, free: 4.582 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/2.329, allocations: 111.9 kB / 1.777 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/2.329, allocations: 4 kB / 1.777 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/2.329, allocations: 4 kB / 1.777 GB, free: 4.453 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/2.33, allocations: 159.7 kB / 1.777 GB, free: 4.297 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008385/2.33, allocations: 2.372 MB / 1.779 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/2.331, allocations: 99.44 kB / 1.779 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/2.331, allocations: 19.98 kB / 1.779 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/2.331, allocations: 4 kB / 1.779 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004916/2.332, allocations: 292 kB / 1.78 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/2.332, allocations: 7.922 kB / 1.78 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/2.332, allocations: 4.188 kB / 1.78 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/2.332, allocations: 95.88 kB / 1.78 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/2.332, allocations: 4 kB / 1.78 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/2.333, allocations: 83.62 kB / 1.78 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/2.333, allocations: 19.98 kB / 1.78 GB, free: 1.215 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002597/2.333, allocations: 275 kB / 1.78 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/2.333, allocations: 71.14 kB / 1.78 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/2.333, allocations: 315.6 kB / 1.78 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/2.334, allocations: 7.984 kB / 1.78 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/2.334, allocations: 3.938 kB / 1.78 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/2.334, allocations: 0 / 1.78 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6162/2.95, allocations: 0.8839 MB / 1.781 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/2.95, allocations: 2.125 kB / 1.781 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/2.95, allocations: 76.03 kB / 1.781 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/2.95, allocations: 2.594 kB / 1.781 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/2.95, allocations: 11.55 kB / 1.781 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008324/2.951, allocations: 2.354 MB / 1.784 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.951, allocations: 2.484 kB / 1.784 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007672/2.952, allocations: 407.2 kB / 1.784 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/2.952, allocations: 169.1 kB / 1.784 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/2.952, allocations: 7.734 kB / 1.784 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/2.953, allocations: 51.25 kB / 1.784 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/2.953, allocations: 21.91 kB / 1.784 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/2.953, allocations: 9.781 kB / 1.784 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007112/2.954, allocations: 464.4 kB / 1.785 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.7e-07/2.954, allocations: 0 / 1.785 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00133/2.955, allocations: 380.4 kB / 1.785 GB, free: 207.4 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 (21): * 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): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008997/2.956, allocations: 478.4 kB / 1.786 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001912/2.958, allocations: 0.4942 MB / 1.786 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/2.958, allocations: 1.219 kB / 1.786 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004354/2.958, allocations: 145 kB / 1.786 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/2.961, allocations: 366.2 kB / 1.787 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/2.963, allocations: 1.327 MB / 1.788 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/2.964, allocations: 0.9351 MB / 1.789 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006445/2.964, allocations: 113.2 kB / 1.789 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/2.965, allocations: 51.17 kB / 1.789 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.202e-06/2.965, allocations: 0 / 1.789 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.03823/3.003, allocations: 15.22 MB / 1.804 GB, free: 205.7 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)