Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008717/0.0008717, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004998/0.004998, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.672/1.672, allocations: 252 MB / 0.5105 GB, free: 4.578 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005384/0.0005384, allocations: 12 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5401, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1406/0.6807, allocations: 151.8 MB / 0.8769 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04986/0.7306, allocations: 34.79 MB / 0.9109 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.6012/1.332, allocations: 131.8 kB / 0.911 GB, free: 39.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005131/1.337, allocations: 0.809 MB / 0.9118 GB, free: 39.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/1.349, allocations: 2.869 MB / 0.9146 GB, free: 39.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00818/1.357, allocations: 2.289 MB / 0.9169 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01621/1.374, allocations: 7.306 MB / 0.924 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004354/1.378, allocations: 1.826 MB / 0.9258 GB, free: 38.95 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0075/1.386, allocations: 2.326 MB / 0.9281 GB, free: 38.95 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004186/1.39, allocations: 1.882 MB / 0.9299 GB, free: 38.94 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003705/1.39, allocations: 94.94 kB / 0.93 GB, free: 38.94 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/1.394, allocations: 0.9364 MB / 0.9309 GB, free: 38.94 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/1.394, allocations: 434.1 kB / 0.9313 GB, free: 38.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/1.396, allocations: 1.129 MB / 0.9324 GB, free: 38.85 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003481/1.399, allocations: 3.084 MB / 0.9354 GB, free: 38.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.399, allocations: 2.75 kB / 0.9354 GB, free: 38.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.006e-06/1.399, allocations: 0 / 0.9354 GB, free: 38.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.014e-05/1.399, allocations: 0 / 0.9354 GB, free: 38.43 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004262/1.404, allocations: 2.31 MB / 0.9377 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.339e-05/1.404, allocations: 9.438 kB / 0.9377 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004421/1.404, allocations: 257.9 kB / 0.9379 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/1.406, allocations: 1.418 MB / 0.9393 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/1.406, allocations: 103.8 kB / 0.9394 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/1.407, allocations: 139.4 kB / 0.9396 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/1.409, allocations: 1.167 MB / 0.9407 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/1.409, allocations: 0 / 0.9407 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.409, allocations: 45.78 kB / 0.9407 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/1.409, allocations: 28.41 kB / 0.9408 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/1.41, allocations: 1.017 MB / 0.9418 GB, free: 36.45 MB / 0.7169 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.008348/1.419, allocations: 6.318 MB / 0.9479 GB, free: 33.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/1.42, allocations: 0.5694 MB / 0.9485 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/1.42, allocations: 391.2 kB / 0.9489 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/1.42, allocations: 0.5053 MB / 0.9494 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.42, allocations: 41.55 kB / 0.9494 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001346/1.422, allocations: 333.2 kB / 0.9497 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 2.935e-06/1.422, allocations: 3 kB / 0.9497 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.00183/1.424, allocations: 1.119 MB / 0.9508 GB, free: 32.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/1.424, allocations: 58.22 kB / 0.9509 GB, free: 32.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/1.426, allocations: 1.844 MB / 0.9527 GB, free: 32.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/1.426, allocations: 51.02 kB / 0.9527 GB, free: 32.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006797/1.426, allocations: 0.9109 MB / 0.9536 GB, free: 32.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/1.427, allocations: 205.6 kB / 0.9538 GB, free: 32.17 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/1.427, allocations: 122.4 kB / 0.9539 GB, free: 32.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/1.427, allocations: 348 kB / 0.9542 GB, free: 31.85 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007146/1.428, allocations: 434.4 kB / 0.9547 GB, free: 31.85 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008769/1.428, allocations: 0.6895 MB / 0.9553 GB, free: 31.63 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/1.43, allocations: 0.9525 MB / 0.9563 GB, free: 31.49 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.43, allocations: 6.875 kB / 0.9563 GB, free: 31.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00209/1.432, allocations: 1.397 MB / 0.9576 GB, free: 31.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.406e-05/1.432, allocations: 199.3 kB / 0.9578 GB, free: 31.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.432, allocations: 2.5 kB / 0.9578 GB, free: 31.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.432, allocations: 7.344 kB / 0.9578 GB, free: 31.13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.433, allocations: 290.2 kB / 0.9581 GB, free: 31.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/1.433, allocations: 12.56 kB / 0.9581 GB, free: 31.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.435, allocations: 166.4 kB / 0.9583 GB, free: 31.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.435, allocations: 60.36 kB / 0.9583 GB, free: 31.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/1.435, allocations: 10.03 kB / 0.9584 GB, free: 31.09 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00175/1.437, allocations: 1.144 MB / 0.9595 GB, free: 30.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.437, allocations: 2.344 kB / 0.9595 GB, free: 30.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/1.437, allocations: 15.11 kB / 0.9595 GB, free: 30.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.438, allocations: 284.8 kB / 0.9598 GB, free: 30.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/1.438, allocations: 12.98 kB / 0.9598 GB, free: 30.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.44, allocations: 142.3 kB / 0.9599 GB, free: 30.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/1.44, allocations: 64.77 kB / 0.96 GB, free: 30.84 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008266/1.44, allocations: 446.2 kB / 0.9604 GB, free: 30.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/1.441, allocations: 205.2 kB / 0.9606 GB, free: 30.53 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/1.443, allocations: 1.06 MB / 0.9616 GB, free: 30.28 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/1.443, allocations: 5.594 kB / 0.9616 GB, free: 30.28 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.443, allocations: 3 kB / 0.9616 GB, free: 30.28 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/1.443, allocations: 7.109 kB / 0.9616 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/1.447, allocations: 2.375 MB / 0.964 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.447, allocations: 0 / 0.964 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/1.447, allocations: 141.5 kB / 0.9641 GB, free: 29.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.547e-06/1.447, allocations: 10.59 kB / 0.9641 GB, free: 29.38 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/1.448, allocations: 25.33 kB / 0.9641 GB, free: 29.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/1.448, allocations: 7.688 kB / 0.9641 GB, free: 29.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.448, allocations: 3.312 kB / 0.9641 GB, free: 29.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/1.449, allocations: 1.048 MB / 0.9652 GB, free: 29 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/1.45, allocations: 360 kB / 0.9655 GB, free: 28.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/1.45, allocations: 14.12 kB / 0.9655 GB, free: 28.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.451, allocations: 97.02 kB / 0.9656 GB, free: 28.71 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.451, allocations: 60.67 kB / 0.9657 GB, free: 28.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/1.451, allocations: 23.03 kB / 0.9657 GB, free: 28.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001923/1.453, allocations: 1.221 MB / 0.9669 GB, free: 28.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.453, allocations: 0 / 0.9669 GB, free: 28.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002637/1.456, allocations: 0.8938 MB / 0.9678 GB, free: 28.23 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008743/1.457, allocations: 337.2 kB / 0.9681 GB, free: 28.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002865/1.459, allocations: 1.6 MB / 0.9696 GB, free: 27.87 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.459, allocations: 0 / 0.9696 GB, free: 27.87 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/1.46, allocations: 411.5 kB / 0.97 GB, free: 27.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006852/1.467, allocations: 1.155 MB / 0.9712 GB, free: 27.42 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005748/1.473, allocations: 3.666 MB / 0.9747 GB, free: 25.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.474, allocations: 1.397 MB / 0.9761 GB, free: 24.25 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002366/1.476, allocations: 398.8 kB / 0.9765 GB, free: 24.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000591/1.477, allocations: 160.3 kB / 0.9766 GB, free: 24.05 MB / 0.7169 GB Notification: Performance of SimCode: time 1.894e-06/1.477, allocations: 0 / 0.9766 GB, free: 24.05 MB / 0.7169 GB Notification: Performance of Templates: time 0.06378/1.541, allocations: 37.32 MB / 1.013 GB, free: 4.633 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: