Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.953/1.953, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001127/0.001127, allocations: 181.1 kB / 377.1 MB, free: 1.508 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.936/1.936, allocations: 205.4 MB / 0.6367 GB, free: 8.602 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.001137/0.001137, allocations: 98.83 kB / 0.751 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2626, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.361/1.623, allocations: 399.7 MB / 1.379 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.624, allocations: 99.27 kB / 1.379 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.316/2.939, allocations: 410.4 MB / 1.78 GB, free: 188.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.793e-06/2.939, allocations: 0 / 1.78 GB, free: 188.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.01e-05/2.939, allocations: 24.19 kB / 1.78 GB, free: 188.3 MB / 0.948 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.002009/2.941, allocations: 1.183 MB / 1.781 GB, free: 187.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/2.941, allocations: 9.656 kB / 1.781 GB, free: 187.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/2.942, allocations: 94.53 kB / 1.781 GB, free: 187.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009353/2.943, allocations: 0.577 MB / 1.781 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/2.943, allocations: 46.75 kB / 1.781 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/2.943, allocations: 61.34 kB / 1.781 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006229/2.943, allocations: 402.8 kB / 1.782 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/2.943, allocations: 1.688 kB / 1.782 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/2.943, allocations: 24.75 kB / 1.782 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/2.943, allocations: 12.56 kB / 1.782 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/2.944, allocations: 292.5 kB / 1.782 GB, free: 187.5 MB / 0.948 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.002516/2.946, allocations: 1.858 MB / 1.784 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/2.947, allocations: 164 kB / 1.784 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/2.947, allocations: 338 kB / 1.784 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/2.947, allocations: 43.58 kB / 1.785 GB, free: 186.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.924e-06/2.947, allocations: 3.188 kB / 1.785 GB, free: 186.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0006655/2.948, allocations: 311.9 kB / 1.785 GB, free: 186.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/2.948, allocations: 58.06 kB / 1.785 GB, free: 186.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/2.948, allocations: 0.5888 MB / 1.785 GB, free: 186 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/2.948, allocations: 32.36 kB / 1.785 GB, free: 186 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/2.949, allocations: 369.1 kB / 1.786 GB, free: 185.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/2.949, allocations: 69.17 kB / 1.786 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/2.949, allocations: 7.562 kB / 1.786 GB, free: 185.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/2.949, allocations: 376 kB / 1.786 GB, free: 185.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/2.949, allocations: 102.8 kB / 1.786 GB, free: 185.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/2.949, allocations: 222.6 kB / 1.787 GB, free: 185.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/2.949, allocations: 133.8 kB / 1.787 GB, free: 185.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/2.95, allocations: 2.344 kB / 1.787 GB, free: 185.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005956/2.95, allocations: 395.2 kB / 1.787 GB, free: 185.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/2.95, allocations: 276.1 kB / 1.787 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/2.95, allocations: 3.969 kB / 1.787 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/2.95, allocations: 0 / 1.787 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008326/2.951, allocations: 138.6 kB / 1.787 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008731/2.952, allocations: 2.367 MB / 1.79 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/2.953, allocations: 88.53 kB / 1.79 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/2.953, allocations: 23.19 kB / 1.79 GB, free: 182.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/2.953, allocations: 3.031 kB / 1.79 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006187/2.954, allocations: 294.7 kB / 1.79 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/2.954, allocations: 2.125 kB / 1.79 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/2.954, allocations: 3.719 kB / 1.79 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/2.954, allocations: 99.52 kB / 1.79 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/2.954, allocations: 3.25 kB / 1.79 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/2.955, allocations: 84.97 kB / 1.79 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/2.955, allocations: 20.47 kB / 1.79 GB, free: 182.6 MB / 0.948 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.000299/2.955, allocations: 269.1 kB / 1.791 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/2.955, allocations: 65.59 kB / 1.791 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/2.956, allocations: 319 kB / 1.791 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/2.956, allocations: 6.406 kB / 1.791 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/2.956, allocations: 0 / 1.791 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/2.956, allocations: 3.469 kB / 1.791 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/2.957, allocations: 0.8926 MB / 1.792 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/2.957, allocations: 0 / 1.792 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/2.957, allocations: 83.02 kB / 1.792 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/2.957, allocations: 6.641 kB / 1.792 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/2.957, allocations: 7.031 kB / 1.792 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000649/2.958, allocations: 2.355 MB / 1.794 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/2.958, allocations: 4.438 kB / 1.794 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/2.958, allocations: 463.1 kB / 1.795 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/2.959, allocations: 169.2 kB / 1.795 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/2.959, allocations: 10.61 kB / 1.795 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/2.959, allocations: 56.39 kB / 1.795 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/2.959, allocations: 16.16 kB / 1.795 GB, free: 179.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/2.959, allocations: 9.75 kB / 1.795 GB, free: 179.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004729/2.96, allocations: 463.7 kB / 1.795 GB, free: 179.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.96, allocations: 0 / 1.795 GB, free: 179.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001212/2.961, allocations: 390.7 kB / 1.796 GB, free: 179.1 MB / 0.948 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.0008384/2.962, allocations: 475 kB / 1.796 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001421/2.963, allocations: 463.9 kB / 1.797 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/2.963, allocations: 3.281 kB / 1.797 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/2.964, allocations: 132.9 kB / 1.797 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/2.966, allocations: 371.4 kB / 1.797 GB, free: 179 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/2.967, allocations: 1.296 MB / 1.798 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/2.968, allocations: 0.9543 MB / 1.799 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006214/2.968, allocations: 120.1 kB / 1.799 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/2.969, allocations: 50.52 kB / 1.8 GB, free: 177.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/2.969, allocations: 0 / 1.8 GB, free: 177.6 MB / 0.948 GB Notification: Performance of Templates: time 0.02376/2.992, allocations: 14.94 MB / 1.814 GB, free: 177.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)