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.827/1.827, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001059/0.001059, allocations: 181.1 kB / 371.9 MB, free: 10.25 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.402/1.402, allocations: 205.4 MB / 0.6306 GB, free: 9.961 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.0009789/0.0009785, allocations: 94.91 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 15.94 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2101, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.872/1.082, allocations: 398.7 MB / 1.369 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/1.083, allocations: 98.75 kB / 1.369 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.256/2.339, allocations: 410.4 MB / 1.77 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.214e-06/2.339, allocations: 0 / 1.77 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001079/2.339, allocations: 27.98 kB / 1.77 GB, free: 11.23 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.002928/2.342, allocations: 1.18 MB / 1.771 GB, free: 9.996 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/2.342, allocations: 8.031 kB / 1.771 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/2.342, allocations: 99.22 kB / 1.771 GB, free: 9.891 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/2.344, allocations: 0.5897 MB / 1.772 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/2.344, allocations: 45 kB / 1.772 GB, free: 9.211 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/2.344, allocations: 52 kB / 1.772 GB, free: 9.16 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000803/2.345, allocations: 402.4 kB / 1.772 GB, free: 8.758 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/2.345, allocations: 0 / 1.772 GB, free: 8.758 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/2.345, allocations: 24 kB / 1.772 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/2.345, allocations: 12 kB / 1.772 GB, free: 8.723 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/2.345, allocations: 291.8 kB / 1.772 GB, free: 8.441 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.003127/2.349, allocations: 1.854 MB / 1.774 GB, free: 6.434 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/2.349, allocations: 178.4 kB / 1.774 GB, free: 6.25 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/2.349, allocations: 348.7 kB / 1.775 GB, free: 5.836 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/2.349, allocations: 42.52 kB / 1.775 GB, free: 5.785 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 2.986e-06/2.349, allocations: 0 / 1.775 GB, free: 5.785 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.000797/2.35, allocations: 310.4 kB / 1.775 GB, free: 5.477 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/2.35, allocations: 59.39 kB / 1.775 GB, free: 5.406 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/2.351, allocations: 0.5857 MB / 1.776 GB, free: 4.816 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/2.351, allocations: 33.7 kB / 1.776 GB, free: 4.777 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/2.351, allocations: 376.7 kB / 1.776 GB, free: 4.406 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/2.351, allocations: 71 kB / 1.776 GB, free: 4.336 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/2.351, allocations: 4 kB / 1.776 GB, free: 4.332 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001037/2.351, allocations: 378.8 kB / 1.776 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/2.351, allocations: 100.7 kB / 1.777 GB, free: 3.852 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/2.352, allocations: 217.5 kB / 1.777 GB, free: 3.594 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/2.352, allocations: 129.5 kB / 1.777 GB, free: 3.469 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/2.352, allocations: 0 / 1.777 GB, free: 3.469 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006587/2.353, allocations: 387.2 kB / 1.777 GB, free: 3.086 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/2.353, allocations: 274.9 kB / 1.777 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/2.353, allocations: 4 kB / 1.777 GB, free: 2.793 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/2.353, allocations: 0 / 1.777 GB, free: 2.793 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/2.354, allocations: 143.8 kB / 1.778 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009761/2.355, allocations: 2.374 MB / 1.78 GB, free: 192 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/2.355, allocations: 87.8 kB / 1.78 GB, free: 104 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/2.356, allocations: 23.92 kB / 1.78 GB, free: 80 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/2.356, allocations: 5.25 kB / 1.78 GB, free: 76 kB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.509/2.865, allocations: 282.6 kB / 1.78 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/2.865, allocations: 1.219 kB / 1.78 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/2.865, allocations: 2.375 kB / 1.78 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/2.865, allocations: 105.7 kB / 1.78 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/2.865, allocations: 2.672 kB / 1.78 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009951/2.866, allocations: 82.58 kB / 1.78 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/2.866, allocations: 19.56 kB / 1.781 GB, free: 210.1 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.000481/2.867, allocations: 269.1 kB / 1.781 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/2.867, allocations: 71.88 kB / 1.781 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008521/2.868, allocations: 310.4 kB / 1.781 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/2.868, allocations: 8 kB / 1.781 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/2.868, allocations: 0.75 kB / 1.781 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/2.868, allocations: 1.312 kB / 1.781 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/2.87, allocations: 0.8925 MB / 1.782 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/2.87, allocations: 1.375 kB / 1.782 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/2.87, allocations: 77.69 kB / 1.782 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/2.87, allocations: 5.969 kB / 1.782 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/2.87, allocations: 6.953 kB / 1.782 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007772/2.871, allocations: 2.359 MB / 1.784 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.871, allocations: 3.5 kB / 1.784 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/2.871, allocations: 449.9 kB / 1.785 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/2.872, allocations: 169.3 kB / 1.785 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/2.872, allocations: 9.875 kB / 1.785 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/2.872, allocations: 58.78 kB / 1.785 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/2.872, allocations: 15.17 kB / 1.785 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/2.872, allocations: 14.25 kB / 1.785 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005645/2.873, allocations: 464.4 kB / 1.786 GB, free: 206.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.61e-07/2.873, allocations: 0 / 1.786 GB, free: 206.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00133/2.874, allocations: 381.9 kB / 1.786 GB, free: 206.7 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.0008952/2.875, allocations: 472.2 kB / 1.786 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001398/2.877, allocations: 463.5 kB / 1.787 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/2.877, allocations: 0 / 1.787 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004101/2.877, allocations: 142.1 kB / 1.787 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/2.879, allocations: 381.7 kB / 1.787 GB, free: 206.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/2.881, allocations: 1.299 MB / 1.789 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/2.882, allocations: 0.9449 MB / 1.789 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005578/2.882, allocations: 117.3 kB / 1.79 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/2.882, allocations: 50.03 kB / 1.79 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of SimCode: time 3.71e-07/2.882, allocations: 0 / 1.79 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.03299/2.915, allocations: 14.96 MB / 1.804 GB, free: 205 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)