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.918/1.918, 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.00104/0.00104, allocations: 194.3 kB / 371.9 MB, free: 10.28 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.615/1.615, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008097/0.0008097, allocations: 85.91 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 12.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.174, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0181/0.1922, allocations: 26.09 MB / 1.005 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.2101, allocations: 12.27 MB / 1.017 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.2118, allocations: 31.69 kB / 1.017 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.2142, allocations: 0.5056 MB / 1.017 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005069/0.2193, allocations: 1.101 MB / 1.018 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.009059/0.2284, allocations: 2.31 MB / 1.021 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0028/0.2312, allocations: 1.231 MB / 1.022 GB, free: 132 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.2322, allocations: 0.5265 MB / 1.022 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.2341, allocations: 0.767 MB / 1.023 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.2352, allocations: 462 kB / 1.024 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.2354, allocations: 32 kB / 1.024 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.237, allocations: 383.5 kB / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.2372, allocations: 123.4 kB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.2375, allocations: 181.3 kB / 1.024 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.2387, allocations: 0.7051 MB / 1.025 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2387, allocations: 4 kB / 1.025 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2387, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.2387, allocations: 0 / 1.025 GB, free: 12.94 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.002264/0.241, allocations: 1 MB / 1.026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.2411, allocations: 8.031 kB / 1.026 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.2413, allocations: 98.86 kB / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.2425, allocations: 0.5343 MB / 1.027 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.2426, allocations: 37 kB / 1.027 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.2427, allocations: 56 kB / 1.027 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2438, allocations: 410.4 kB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2438, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.2439, allocations: 20 kB / 1.027 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.2439, allocations: 15.95 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.2449, allocations: 307.8 kB / 1.027 GB, free: 10.38 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.003929/0.2488, allocations: 1.85 MB / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.2494, allocations: 170.4 kB / 1.029 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.2497, allocations: 344.5 kB / 1.03 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.2498, allocations: 42.55 kB / 1.03 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 2.365e-06/0.2498, allocations: 0 / 1.03 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.001066/0.2509, allocations: 323.3 kB / 1.03 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2509, allocations: 59.41 kB / 1.03 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.2521, allocations: 0.6647 MB / 1.031 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.2521, allocations: 37.64 kB / 1.031 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/0.2525, allocations: 360.1 kB / 1.031 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.2526, allocations: 67 kB / 1.031 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.2527, allocations: 8 kB / 1.031 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.2529, allocations: 374.8 kB / 1.032 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.2533, allocations: 107.9 kB / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.2537, allocations: 174 kB / 1.032 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.2542, allocations: 129.5 kB / 1.032 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.2542, allocations: 4 kB / 1.032 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001108/0.2553, allocations: 391.2 kB / 1.032 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.2555, allocations: 270.9 kB / 1.033 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2555, allocations: 4 kB / 1.033 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.2555, allocations: 3.953 kB / 1.033 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.257, allocations: 167.9 kB / 1.033 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.2587, allocations: 2.36 MB / 1.035 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009426/0.2597, allocations: 87.78 kB / 1.035 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.2598, allocations: 19.98 kB / 1.035 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2598, allocations: 8 kB / 1.035 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009152/0.2607, allocations: 287.8 kB / 1.035 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2608, allocations: 0 / 1.035 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.2608, allocations: 4 kB / 1.035 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.2614, allocations: 103.9 kB / 1.036 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2615, allocations: 3.953 kB / 1.036 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.2622, allocations: 81.41 kB / 1.036 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.2623, allocations: 19.98 kB / 1.036 GB, free: 1.496 MB / 0.6511 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.0004234/0.2627, allocations: 261 kB / 1.036 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.2629, allocations: 67.27 kB / 1.036 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000997/0.2639, allocations: 326.1 kB / 1.036 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.2639, allocations: 0 / 1.036 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.2639, allocations: 7.953 kB / 1.036 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.264, allocations: 7.922 kB / 1.036 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.266, allocations: 0.8879 MB / 1.037 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.266, allocations: 4 kB / 1.037 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.2665, allocations: 75.78 kB / 1.037 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.2666, allocations: 4 kB / 1.037 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.2666, allocations: 11.98 kB / 1.037 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.2681, allocations: 2.356 MB / 1.04 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2681, allocations: 4.062 kB / 1.04 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000857/0.269, allocations: 452.1 kB / 1.04 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.2693, allocations: 176.1 kB / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.2695, allocations: 4.188 kB / 1.04 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/0.2701, allocations: 55.8 kB / 1.04 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.2702, allocations: 27.91 kB / 1.04 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.2702, allocations: 8 kB / 1.04 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008589/0.2711, allocations: 463 kB / 1.041 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2711, allocations: 0 / 1.041 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001341/0.2725, allocations: 343.2 kB / 1.041 GB, free: 11.76 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.0005976/0.2731, allocations: 240 kB / 1.041 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.2755, allocations: 0.5038 MB / 1.042 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2755, allocations: 0 / 1.042 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.2761, allocations: 144.9 kB / 1.042 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/0.2791, allocations: 380.3 kB / 1.042 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.2818, allocations: 1.302 MB / 1.044 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006287/0.2825, allocations: 0.9414 MB / 1.044 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000831/0.2833, allocations: 120.3 kB / 1.045 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.2835, allocations: 51.42 kB / 1.045 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of SimCode: time 9.62e-07/0.2835, allocations: 0 / 1.045 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of Templates: time 0.0322/0.3157, allocations: 12.08 MB / 1.056 GB, free: 12.11 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)