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.833/1.833, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.0011/0.001101, allocations: 180.5 kB / 372.3 MB, free: 10.12 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.648/1.648, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0007406/0.0007407, allocations: 90.34 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004183, allocations: 12.12 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02118/0.2455, allocations: 28.53 MB / 1.008 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.2639, allocations: 13.18 MB / 1.021 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.2653, allocations: 31.69 kB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.2663, allocations: 278.2 kB / 1.021 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.2698, allocations: 0.9974 MB / 1.022 GB, free: 240 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.2721, allocations: 0.7064 MB / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003202/0.2754, allocations: 2.416 MB / 1.025 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009377/0.2763, allocations: 0.5457 MB / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.2783, allocations: 0.8674 MB / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009638/0.2793, allocations: 0.634 MB / 1.027 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.2794, allocations: 32 kB / 1.027 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.2807, allocations: 0.5419 MB / 1.028 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.2809, allocations: 131.3 kB / 1.028 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.2814, allocations: 403.7 kB / 1.028 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0009352/0.2823, allocations: 0.7598 MB / 1.029 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2824, allocations: 4 kB / 1.029 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2824, allocations: 4 kB / 1.029 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.2824, allocations: 0 / 1.029 GB, free: 9.168 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.001611/0.284, allocations: 1.013 MB / 1.03 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.284, allocations: 8.031 kB / 1.03 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.2842, allocations: 95.81 kB / 1.03 GB, free: 8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.285, allocations: 0.5575 MB / 1.031 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.2851, allocations: 41 kB / 1.031 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/0.2852, allocations: 56 kB / 1.031 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008448/0.286, allocations: 422.4 kB / 1.031 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.286, allocations: 3.938 kB / 1.031 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.2861, allocations: 23.92 kB / 1.031 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.2861, allocations: 12 kB / 1.031 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.2867, allocations: 315.8 kB / 1.031 GB, free: 6.539 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.002855/0.2896, allocations: 1.861 MB / 1.033 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.29, allocations: 166.5 kB / 1.033 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.2901, allocations: 80.81 kB / 1.034 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.2905, allocations: 348.4 kB / 1.034 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2905, allocations: 34.5 kB / 1.034 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 2.294e-06/0.2905, allocations: 0 / 1.034 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0007217/0.2912, allocations: 318.4 kB / 1.034 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.2913, allocations: 55.41 kB / 1.034 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.2921, allocations: 0.6686 MB / 1.035 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.2922, allocations: 29.7 kB / 1.035 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.2925, allocations: 364 kB / 1.035 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.2926, allocations: 59.11 kB / 1.035 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.2926, allocations: 8 kB / 1.035 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.2928, allocations: 386.7 kB / 1.036 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.2931, allocations: 103.9 kB / 1.036 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.2934, allocations: 182 kB / 1.036 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.2939, allocations: 237.6 kB / 1.036 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2939, allocations: 0 / 1.036 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007142/0.2946, allocations: 390.2 kB / 1.037 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/0.2947, allocations: 108.1 kB / 1.037 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2947, allocations: 4 kB / 1.037 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2947, allocations: 4 kB / 1.037 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.2958, allocations: 159.9 kB / 1.037 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.2972, allocations: 2.371 MB / 1.039 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.2978, allocations: 89.81 kB / 1.039 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.2979, allocations: 12.11 kB / 1.039 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.2979, allocations: 11.88 kB / 1.039 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005772/0.2985, allocations: 292 kB / 1.04 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.2985, allocations: 0 / 1.04 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.299e-06/0.2985, allocations: 11.94 kB / 1.04 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.2989, allocations: 99.88 kB / 1.04 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.299, allocations: 3.938 kB / 1.04 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.2994, allocations: 79.62 kB / 1.04 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.2995, allocations: 19.98 kB / 1.04 GB, free: 13.62 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.0003143/0.2998, allocations: 261 kB / 1.04 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.2999, allocations: 67.16 kB / 1.04 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.3006, allocations: 319.8 kB / 1.04 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.3006, allocations: 0 / 1.04 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3006, allocations: 0 / 1.04 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3006, allocations: 3.984 kB / 1.04 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.302, allocations: 0.8972 MB / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.302, allocations: 4 kB / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/0.3023, allocations: 79.86 kB / 1.041 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.3024, allocations: 7.984 kB / 1.041 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.3024, allocations: 8 kB / 1.041 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.3037, allocations: 2.352 MB / 1.044 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3037, allocations: 7.984 kB / 1.044 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000563/0.3042, allocations: 403.8 kB / 1.044 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.3045, allocations: 180 kB / 1.044 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.3046, allocations: 4 kB / 1.044 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.3049, allocations: 43.95 kB / 1.044 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.305, allocations: 24.16 kB / 1.044 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.305, allocations: 8 kB / 1.044 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005524/0.3056, allocations: 463 kB / 1.045 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.753e-06/0.3056, allocations: 0 / 1.045 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009519/0.3066, allocations: 351.1 kB / 1.045 GB, free: 7.965 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.0005261/0.3071, allocations: 253.2 kB / 1.045 GB, free: 7.715 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.3093, allocations: 0.4993 MB / 1.046 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.3093, allocations: 4 kB / 1.046 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.3099, allocations: 131.9 kB / 1.046 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/0.3132, allocations: 374 kB / 1.046 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.3162, allocations: 1.315 MB / 1.048 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.3169, allocations: 0.9254 MB / 1.048 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008512/0.3178, allocations: 120.4 kB / 1.049 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.318, allocations: 55.36 kB / 1.049 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of SimCode: time 9.02e-07/0.318, allocations: 0 / 1.049 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of Templates: time 0.03418/0.3522, allocations: 12.31 MB / 1.061 GB, free: 8.109 MB / 0.6823 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)