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.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.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.1-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 293 MB / 309 MB, free: 4.828 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.001161/0.001161, allocations: 180.1 kB / 378.7 MB, free: 1.031 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.605/1.605, allocations: 205.4 MB / 0.6383 GB, free: 9.18 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.0009022/0.0009023, allocations: 96.94 kB / 0.7527 GB, free: 62.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 16 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2396, allocations: 116.4 MB / 0.9904 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.451, allocations: 399.9 MB / 1.381 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.451, allocations: 103 kB / 1.381 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.388/2.839, allocations: 408 MB / 1.779 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.244e-06/2.839, allocations: 0 / 1.779 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001055/2.839, allocations: 28.22 kB / 1.78 GB, free: 176.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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002552/2.842, allocations: 1.158 MB / 1.781 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/2.842, allocations: 12.34 kB / 1.781 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/2.842, allocations: 98.77 kB / 1.781 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/2.843, allocations: 0.6149 MB / 1.781 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/2.843, allocations: 40.03 kB / 1.781 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/2.844, allocations: 60.25 kB / 1.781 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/2.844, allocations: 406 kB / 1.782 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/2.844, allocations: 3.938 kB / 1.782 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/2.844, allocations: 16.91 kB / 1.782 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/2.844, allocations: 9.25 kB / 1.782 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/2.845, allocations: 302.8 kB / 1.782 GB, free: 175.3 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.002774/2.848, allocations: 1.857 MB / 1.784 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/2.848, allocations: 168.5 kB / 1.784 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/2.848, allocations: 91.47 kB / 1.784 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/2.848, allocations: 338.3 kB / 1.785 GB, free: 174 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/2.848, allocations: 35.59 kB / 1.785 GB, free: 174 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/2.848, allocations: 0 / 1.785 GB, free: 174 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.0006835/2.849, allocations: 321.8 kB / 1.785 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/2.849, allocations: 60.45 kB / 1.785 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/2.85, allocations: 0.6674 MB / 1.786 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/2.85, allocations: 34.89 kB / 1.786 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/2.85, allocations: 364.8 kB / 1.786 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/2.85, allocations: 72.55 kB / 1.786 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/2.85, allocations: 10.83 kB / 1.786 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/2.85, allocations: 376.2 kB / 1.786 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/2.851, allocations: 103 kB / 1.786 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/2.851, allocations: 221.4 kB / 1.787 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/2.851, allocations: 235.2 kB / 1.787 GB, free: 173 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/2.851, allocations: 0 / 1.787 GB, free: 173 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006386/2.852, allocations: 393.9 kB / 1.787 GB, free: 173 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/2.852, allocations: 116.2 kB / 1.787 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/2.852, allocations: 0 / 1.787 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/2.852, allocations: 0 / 1.787 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009785/2.853, allocations: 166.2 kB / 1.788 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008801/2.854, allocations: 2.362 MB / 1.79 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/2.854, allocations: 97.2 kB / 1.79 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/2.855, allocations: 19.47 kB / 1.79 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.133e-06/2.855, allocations: 6.375 kB / 1.79 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004956/2.855, allocations: 291.6 kB / 1.79 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/2.855, allocations: 0 / 1.79 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-06/2.855, allocations: 8.781 kB / 1.79 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/2.855, allocations: 100.9 kB / 1.79 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/2.855, allocations: 6.859 kB / 1.79 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/2.856, allocations: 86.23 kB / 1.79 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/2.856, allocations: 16.02 kB / 1.79 GB, free: 170.5 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.0002794/2.856, allocations: 279 kB / 1.791 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/2.856, allocations: 66.47 kB / 1.791 GB, free: 170.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/2.857, allocations: 316.2 kB / 1.791 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/2.857, allocations: 0 / 1.791 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/2.857, allocations: 6.375 kB / 1.791 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/2.857, allocations: 3.562 kB / 1.791 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/2.858, allocations: 0.8815 MB / 1.792 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/2.858, allocations: 6.859 kB / 1.792 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/2.859, allocations: 78.55 kB / 1.792 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/2.859, allocations: 2.156 kB / 1.792 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/2.859, allocations: 14.08 kB / 1.792 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006382/2.859, allocations: 2.356 MB / 1.794 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/2.859, allocations: 0 / 1.794 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/2.86, allocations: 408.9 kB / 1.795 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/2.86, allocations: 171.4 kB / 1.795 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/2.86, allocations: 9.969 kB / 1.795 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/2.861, allocations: 55.3 kB / 1.795 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/2.861, allocations: 17.16 kB / 1.795 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/2.861, allocations: 10.22 kB / 1.795 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004732/2.861, allocations: 462.2 kB / 1.795 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.31e-07/2.861, allocations: 0 / 1.795 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001048/2.862, allocations: 387.9 kB / 1.796 GB, free: 167.1 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.0008183/2.863, allocations: 473.6 kB / 1.796 GB, free: 167 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001481/2.865, allocations: 0.4952 MB / 1.797 GB, free: 167 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/2.865, allocations: 0 / 1.797 GB, free: 167 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/2.865, allocations: 147.9 kB / 1.797 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/2.867, allocations: 379.8 kB / 1.797 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/2.869, allocations: 1.314 MB / 1.799 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/2.87, allocations: 0.9259 MB / 1.799 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007538/2.871, allocations: 120.7 kB / 1.8 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/2.871, allocations: 45.56 kB / 1.8 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of SimCode: time 7.51e-07/2.871, allocations: 0 / 1.8 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.02686/2.898, allocations: 15.21 MB / 1.814 GB, free: 165.3 MB / 0.9323 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)