Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.779/1.779, allocations: 287.5 MB / 302.6 MB, free: 8.281 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.001028/0.001028, allocations: 184.8 kB / 371.2 MB, free: 10.82 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.656/1.656, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007995/0.0007995, allocations: 90.36 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 20.7 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2277, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02421/0.252, allocations: 28.53 MB / 1.007 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.2738, allocations: 13.17 MB / 1.019 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.2752, allocations: 35.69 kB / 1.019 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.2764, allocations: 270.2 kB / 1.02 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.2795, allocations: 0.9188 MB / 1.021 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.282, allocations: 0.7221 MB / 1.021 GB, free: 448 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.2852, allocations: 2.412 MB / 1.024 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.2863, allocations: 0.5613 MB / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.2884, allocations: 0.8167 MB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.2896, allocations: 0.6262 MB / 1.026 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.2898, allocations: 32 kB / 1.026 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.2912, allocations: 0.5107 MB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.2915, allocations: 127.4 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.2918, allocations: 177.3 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.293, allocations: 0.752 MB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.293, allocations: 7.922 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.532e-06/0.293, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.486e-05/0.293, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.6511 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.001824/0.2949, allocations: 1.004 MB / 1.028 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2949, allocations: 8.031 kB / 1.028 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.2951, allocations: 95.81 kB / 1.028 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/0.2961, allocations: 0.5653 MB / 1.029 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.2961, allocations: 41 kB / 1.029 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.2962, allocations: 63.98 kB / 1.029 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.297, allocations: 406.4 kB / 1.029 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.297, allocations: 0 / 1.029 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.2971, allocations: 20 kB / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.2971, allocations: 12 kB / 1.029 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000662/0.2978, allocations: 311.8 kB / 1.03 GB, free: 7.773 MB / 0.6511 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.003028/0.3008, allocations: 1.861 MB / 1.031 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.3012, allocations: 166.5 kB / 1.032 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.3014, allocations: 92.8 kB / 1.032 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.3017, allocations: 332.4 kB / 1.032 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.3018, allocations: 38.55 kB / 1.032 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 1.864e-06/0.3018, allocations: 0 / 1.032 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0007829/0.3026, allocations: 326.7 kB / 1.032 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3026, allocations: 55.34 kB / 1.032 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/0.3035, allocations: 0.6647 MB / 1.033 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.3035, allocations: 37.7 kB / 1.033 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.3038, allocations: 364 kB / 1.033 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.3039, allocations: 67.09 kB / 1.033 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.3039, allocations: 4 kB / 1.033 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3041, allocations: 382.7 kB / 1.034 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.3044, allocations: 99.94 kB / 1.034 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.3047, allocations: 182 kB / 1.034 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.3051, allocations: 237.6 kB / 1.034 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3052, allocations: 0 / 1.034 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000749/0.3059, allocations: 386.2 kB / 1.035 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/0.306, allocations: 117.4 kB / 1.035 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.306, allocations: 0 / 1.035 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.306, allocations: 4 kB / 1.035 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.3071, allocations: 163.9 kB / 1.035 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.3085, allocations: 2.371 MB / 1.037 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006023/0.3091, allocations: 84.53 kB / 1.037 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.3092, allocations: 12 kB / 1.037 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.3092, allocations: 4 kB / 1.037 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006497/0.3098, allocations: 296 kB / 1.038 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.3099, allocations: 0 / 1.038 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/0.3099, allocations: 4 kB / 1.038 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.3103, allocations: 103.9 kB / 1.038 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3103, allocations: 11.88 kB / 1.038 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.3109, allocations: 75.73 kB / 1.038 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.3109, allocations: 15.94 kB / 1.038 GB, free: 14.86 MB / 0.6667 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.000287/0.3112, allocations: 273 kB / 1.038 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.937e-05/0.3113, allocations: 67.16 kB / 1.038 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006929/0.312, allocations: 309.1 kB / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.312, allocations: 11.92 kB / 1.039 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.312, allocations: 0 / 1.039 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.312, allocations: 0 / 1.039 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.3135, allocations: 0.9039 MB / 1.039 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3135, allocations: 4 kB / 1.039 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.3138, allocations: 84.05 kB / 1.039 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3138, allocations: 0 / 1.039 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3138, allocations: 4.188 kB / 1.039 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.3151, allocations: 2.356 MB / 1.042 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3151, allocations: 0 / 1.042 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.3157, allocations: 417.9 kB / 1.042 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.316, allocations: 176 kB / 1.042 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/0.3161, allocations: 8 kB / 1.042 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.3165, allocations: 51.94 kB / 1.042 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.3166, allocations: 11.98 kB / 1.042 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3166, allocations: 8 kB / 1.042 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005837/0.3172, allocations: 463 kB / 1.043 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3172, allocations: 0 / 1.043 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001003/0.3182, allocations: 347.1 kB / 1.043 GB, free: 9.195 MB / 0.6667 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.0006175/0.3188, allocations: 242 kB / 1.043 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001954/0.3208, allocations: 0.4915 MB / 1.044 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3208, allocations: 4 kB / 1.044 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.3213, allocations: 144 kB / 1.044 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.3238, allocations: 372.3 kB / 1.044 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.3263, allocations: 1.311 MB / 1.046 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.3268, allocations: 0.9254 MB / 1.047 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005443/0.3273, allocations: 122 kB / 1.047 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3275, allocations: 51.42 kB / 1.047 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of SimCode: time 4e-07/0.3275, allocations: 4 kB / 1.047 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of Templates: time 0.02471/0.3522, allocations: 12.11 MB / 1.059 GB, free: 9.547 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)