Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 184 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006927/0.0006926, allocations: 82.48 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.000291, allocations: 8.969 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1748, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02989/0.2048, allocations: 30.55 MB / 0.9266 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.2201, allocations: 14.34 MB / 0.9406 GB, free: 23.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.2212, allocations: 31.69 kB / 0.9406 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008475/0.222, allocations: 310.2 kB / 0.9409 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.2243, allocations: 1.053 MB / 0.9419 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.226, allocations: 0.76 MB / 0.9427 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.2282, allocations: 2.815 MB / 0.9454 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.2288, allocations: 0.5594 MB / 0.946 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.2302, allocations: 0.8867 MB / 0.9468 GB, free: 16.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006016/0.2308, allocations: 0.6573 MB / 0.9475 GB, free: 16.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.2309, allocations: 28 kB / 0.9475 GB, free: 16.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009036/0.2318, allocations: 0.577 MB / 0.9481 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2319, allocations: 131.3 kB / 0.9482 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.2322, allocations: 401.6 kB / 0.9486 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.2328, allocations: 0.7598 MB / 0.9493 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2328, allocations: 0 / 0.9493 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2328, allocations: 0 / 0.9493 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.2328, allocations: 0 / 0.9493 GB, free: 14.2 MB / 0.6042 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.001217/0.234, allocations: 1.012 MB / 0.9503 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2341, allocations: 11.97 kB / 0.9503 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.2342, allocations: 99.81 kB / 0.9504 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.2348, allocations: 0.5537 MB / 0.951 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.2348, allocations: 41 kB / 0.951 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.2349, allocations: 56 kB / 0.951 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/0.2355, allocations: 410.4 kB / 0.9514 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2355, allocations: 4 kB / 0.9514 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.2355, allocations: 19.94 kB / 0.9515 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2355, allocations: 12 kB / 0.9515 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.236, allocations: 311.8 kB / 0.9518 GB, free: 11.59 MB / 0.6042 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.00204/0.2381, allocations: 1.85 MB / 0.9536 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.2384, allocations: 174.4 kB / 0.9537 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.2385, allocations: 88.8 kB / 0.9538 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.2387, allocations: 340.5 kB / 0.9542 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.2387, allocations: 34.56 kB / 0.9542 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.2387, allocations: 4 kB / 0.9542 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0005999/0.2394, allocations: 310.4 kB / 0.9545 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.2394, allocations: 59.41 kB / 0.9545 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.2399, allocations: 0.6724 MB / 0.9552 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.24, allocations: 33.7 kB / 0.9552 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.2401, allocations: 371.9 kB / 0.9556 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.2402, allocations: 67 kB / 0.9556 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.2402, allocations: 45.69 kB / 0.9557 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.2403, allocations: 378.7 kB / 0.9561 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.2405, allocations: 111.9 kB / 0.9562 GB, free: 6.789 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.2408, allocations: 182 kB / 0.9563 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.2411, allocations: 249.6 kB / 0.9566 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2412, allocations: 0 / 0.9566 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000585/0.2417, allocations: 406.2 kB / 0.957 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.2418, allocations: 106.8 kB / 0.9571 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2418, allocations: 7.938 kB / 0.9571 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2418, allocations: 4 kB / 0.9571 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/0.2428, allocations: 159.9 kB / 0.9572 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00075/0.2435, allocations: 2.363 MB / 0.9595 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.2441, allocations: 91.72 kB / 0.9596 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.2441, allocations: 15.98 kB / 0.9596 GB, free: 3.086 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.2441, allocations: 10.66 kB / 0.9596 GB, free: 3.078 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004769/0.2446, allocations: 296 kB / 0.9599 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.2446, allocations: 0 / 0.9599 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-06/0.2446, allocations: 0 / 0.9599 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.245, allocations: 107.9 kB / 0.96 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.245, allocations: 7.922 kB / 0.96 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.2454, allocations: 83.53 kB / 0.9601 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.2455, allocations: 15.98 kB / 0.9601 GB, free: 2.578 MB / 0.6042 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.2457, allocations: 257 kB / 0.9604 GB, free: 2.316 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.2458, allocations: 67.16 kB / 0.9604 GB, free: 2.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.2463, allocations: 325 kB / 0.9608 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.2464, allocations: 0 / 0.9608 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2464, allocations: 7.984 kB / 0.9608 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2464, allocations: 0 / 0.9608 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/0.2474, allocations: 0.8977 MB / 0.9616 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.2474, allocations: 4 kB / 0.9616 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.2477, allocations: 75.86 kB / 0.9617 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2477, allocations: 4 kB / 0.9617 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2477, allocations: 4 kB / 0.9617 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009423/0.2486, allocations: 2.364 MB / 0.964 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2487, allocations: 4.281 kB / 0.964 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.2492, allocations: 409.7 kB / 0.9644 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.2494, allocations: 156.2 kB / 0.9646 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.2495, allocations: 11.98 kB / 0.9646 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.2498, allocations: 47.86 kB / 0.9646 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.2499, allocations: 19.92 kB / 0.9646 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.2499, allocations: 11.98 kB / 0.9647 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000523/0.2504, allocations: 467 kB / 0.9651 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.673e-06/0.2505, allocations: 7.938 kB / 0.9651 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008031/0.2513, allocations: 355 kB / 0.9654 GB, free: 12.91 MB / 0.6198 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004468/0.2517, allocations: 247 kB / 0.9657 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.2532, allocations: 0.4926 MB / 0.9662 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2533, allocations: 0 / 0.9662 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.2536, allocations: 147.8 kB / 0.9663 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.2556, allocations: 377.6 kB / 0.9667 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.2575, allocations: 1.393 MB / 0.968 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.258, allocations: 0.9254 MB / 0.9689 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.2582, allocations: 51.44 kB / 0.969 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of SimCode: time 3.5e-07/0.2582, allocations: 0 / 0.969 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of Templates: time 0.0237/0.2819, allocations: 22.04 MB / 0.9905 GB, free: 3.297 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)