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.566/1.566, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.0009953/0.0009953, allocations: 172.9 kB / 366.7 MB, free: 1.648 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.346/1.346, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008061/0.0008062, allocations: 78.66 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.58e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5781, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8881/1.466, allocations: 398.9 MB / 1.363 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.467, allocations: 100.4 kB / 1.363 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.191/2.658, allocations: 406.5 MB / 1.76 GB, free: 222.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.614e-06/2.658, allocations: 0 / 1.76 GB, free: 222.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001056/2.658, allocations: 26.12 kB / 1.76 GB, free: 222.6 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.001903/2.66, allocations: 1.038 MB / 1.761 GB, free: 221.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/2.66, allocations: 11.41 kB / 1.761 GB, free: 221.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/2.66, allocations: 94.5 kB / 1.761 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008405/2.661, allocations: 0.5771 MB / 1.762 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/2.661, allocations: 12.78 kB / 1.762 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/2.661, allocations: 34.56 kB / 1.762 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003822/2.662, allocations: 237.9 kB / 1.762 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/2.662, allocations: 317.7 kB / 1.762 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/2.662, allocations: 0 / 1.762 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/2.662, allocations: 0 / 1.762 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/2.662, allocations: 15.03 kB / 1.762 GB, free: 221 MB / 0.948 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.002206/2.664, allocations: 1.738 MB / 1.764 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/2.665, allocations: 150.3 kB / 1.764 GB, free: 219.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/2.665, allocations: 66.09 kB / 1.764 GB, free: 219.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/2.665, allocations: 344.3 kB / 1.764 GB, free: 219.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/2.665, allocations: 38.45 kB / 1.764 GB, free: 219 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/2.665, allocations: 0 / 1.764 GB, free: 219 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0004524/2.665, allocations: 218.5 kB / 1.765 GB, free: 218.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/2.665, allocations: 51.41 kB / 1.765 GB, free: 218.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/2.666, allocations: 487.7 kB / 1.765 GB, free: 218.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/2.666, allocations: 25.7 kB / 1.765 GB, free: 218.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/2.666, allocations: 370.9 kB / 1.766 GB, free: 218.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/2.666, allocations: 62.58 kB / 1.766 GB, free: 218.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/2.666, allocations: 0 / 1.766 GB, free: 218.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/2.666, allocations: 372.8 kB / 1.766 GB, free: 217.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/2.666, allocations: 83.36 kB / 1.766 GB, free: 217.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/2.667, allocations: 191.5 kB / 1.766 GB, free: 217.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/2.667, allocations: 119.3 kB / 1.766 GB, free: 217.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/2.667, allocations: 2.656 kB / 1.766 GB, free: 217.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004724/2.667, allocations: 333 kB / 1.767 GB, free: 217.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.624e-05/2.667, allocations: 284 kB / 1.767 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/2.667, allocations: 3.984 kB / 1.767 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/2.667, allocations: 3.938 kB / 1.767 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/2.668, allocations: 143.9 kB / 1.767 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008384/2.669, allocations: 2.388 MB / 1.769 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/2.67, allocations: 71.31 kB / 1.769 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/2.67, allocations: 19.77 kB / 1.769 GB, free: 214.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/2.67, allocations: 5.25 kB / 1.769 GB, free: 214.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003848/2.67, allocations: 222.3 kB / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/2.67, allocations: 7.156 kB / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/2.67, allocations: 3.984 kB / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/2.671, allocations: 98.44 kB / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/2.671, allocations: 0 / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/2.671, allocations: 68.09 kB / 1.77 GB, free: 214.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/2.671, allocations: 19.58 kB / 1.77 GB, free: 214.5 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 () * 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 8.825e-05/2.671, allocations: 112.7 kB / 1.77 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/2.671, allocations: 61.67 kB / 1.77 GB, free: 214.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/2.672, allocations: 269.8 kB / 1.77 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/2.672, allocations: 0 / 1.77 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/2.672, allocations: 3.938 kB / 1.77 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/2.672, allocations: 3.125 kB / 1.77 GB, free: 214.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009279/2.673, allocations: 0.7727 MB / 1.771 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/2.673, allocations: 0 / 1.771 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/2.673, allocations: 75.39 kB / 1.771 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/2.673, allocations: 0 / 1.771 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/2.673, allocations: 7.828 kB / 1.771 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006064/2.674, allocations: 2.36 MB / 1.773 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.674, allocations: 7.906 kB / 1.773 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/2.674, allocations: 397.8 kB / 1.774 GB, free: 210.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/2.674, allocations: 169.9 kB / 1.774 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/2.674, allocations: 7.719 kB / 1.774 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/2.675, allocations: 58.23 kB / 1.774 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/2.675, allocations: 11.86 kB / 1.774 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/2.675, allocations: 10.92 kB / 1.774 GB, free: 210.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003012/2.675, allocations: 368.4 kB / 1.774 GB, free: 210.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/2.675, allocations: 0 / 1.774 GB, free: 210.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009392/2.676, allocations: 374.5 kB / 1.775 GB, free: 210.3 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 () * 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.0006957/2.677, allocations: 484.9 kB / 1.775 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001037/2.678, allocations: 423.3 kB / 1.776 GB, free: 210 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/2.678, allocations: 0 / 1.776 GB, free: 210 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/2.678, allocations: 110.2 kB / 1.776 GB, free: 209.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/2.679, allocations: 297.8 kB / 1.776 GB, free: 209.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/2.681, allocations: 0.7217 MB / 1.777 GB, free: 209.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/2.681, allocations: 0.9427 MB / 1.778 GB, free: 208.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005142/2.681, allocations: 135.1 kB / 1.778 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/2.681, allocations: 31 kB / 1.778 GB, free: 208.5 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/2.681, allocations: 0 / 1.778 GB, free: 208.5 MB / 0.948 GB Notification: Performance of Templates: time 0.01744/2.699, allocations: 12.38 MB / 1.79 GB, free: 202.8 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)