Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001245/0.001245, allocations: 193.6 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.042/3.042, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.78 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.366, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03276/0.3988, allocations: 30.59 MB / 1.097 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01538/0.4143, allocations: 10.85 MB / 1.108 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.4158, allocations: 23.81 kB / 1.108 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.4173, allocations: 326.1 kB / 1.108 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.4207, allocations: 1.053 MB / 1.109 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.4231, allocations: 0.7612 MB / 1.11 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00363/0.4267, allocations: 2.834 MB / 1.113 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.4278, allocations: 0.5906 MB / 1.113 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.43, allocations: 0.8984 MB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.4313, allocations: 0.6884 MB / 1.115 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.4314, allocations: 36 kB / 1.115 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.4329, allocations: 0.5809 MB / 1.116 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.4331, allocations: 143.2 kB / 1.116 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006299/0.4338, allocations: 417.7 kB / 1.116 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.4355, allocations: 1.059 MB / 1.117 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4355, allocations: 3.938 kB / 1.117 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4355, allocations: 0 / 1.117 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.709e-05/0.4356, allocations: 4 kB / 1.117 GB, free: 7.91 MB / 0.8731 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.002084/0.4377, allocations: 1.16 MB / 1.118 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4377, allocations: 8.031 kB / 1.118 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.4379, allocations: 99.81 kB / 1.118 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009303/0.4389, allocations: 0.5656 MB / 1.119 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.4389, allocations: 48.98 kB / 1.119 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.439, allocations: 52 kB / 1.119 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008338/0.4399, allocations: 410.4 kB / 1.119 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4399, allocations: 0 / 1.119 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.4399, allocations: 20 kB / 1.119 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4399, allocations: 8 kB / 1.119 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.4406, allocations: 307.8 kB / 1.12 GB, free: 5.152 MB / 0.8731 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.003065/0.4437, allocations: 1.842 MB / 1.122 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.444, allocations: 174.4 kB / 1.122 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.4442, allocations: 76.81 kB / 1.122 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.4445, allocations: 344.4 kB / 1.122 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.4446, allocations: 42.45 kB / 1.122 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.834e-06/0.4446, allocations: 0 / 1.122 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0007957/0.4454, allocations: 306.2 kB / 1.122 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.4454, allocations: 59.36 kB / 1.122 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008288/0.4463, allocations: 0.6843 MB / 1.123 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.4463, allocations: 29.7 kB / 1.123 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.4466, allocations: 368.7 kB / 1.124 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.4467, allocations: 63.05 kB / 1.124 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.4468, allocations: 93.95 kB / 1.124 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.447, allocations: 378.7 kB / 1.124 GB, free: 444 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.4473, allocations: 118.3 kB / 1.124 GB, free: 324 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.4476, allocations: 179.7 kB / 1.124 GB, free: 124 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.4481, allocations: 233 kB / 1.125 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4481, allocations: 0 / 1.125 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007686/0.4489, allocations: 397.8 kB / 1.125 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4489, allocations: 4 kB / 1.125 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4489, allocations: 0 / 1.125 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4489, allocations: 7.938 kB / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.45, allocations: 167.8 kB / 1.125 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.4515, allocations: 2.36 MB / 1.127 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.4521, allocations: 83.81 kB / 1.127 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.4522, allocations: 15.98 kB / 1.128 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004124/0.4526, allocations: 253.6 kB / 1.128 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002986/0.4529, allocations: 183.2 kB / 1.128 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004266/0.4533, allocations: 233.2 kB / 1.128 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-06/0.4533, allocations: 4 kB / 1.128 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006941/0.454, allocations: 368.4 kB / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.4541, allocations: 4 kB / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.4541, allocations: 0 / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.4541, allocations: 4.109 kB / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.4545, allocations: 107.9 kB / 1.129 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4545, allocations: 4 kB / 1.129 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.4552, allocations: 75.66 kB / 1.129 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.4552, allocations: 19.98 kB / 1.129 GB, free: 11.49 MB / 0.8887 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.0001944/0.4554, allocations: 204.5 kB / 1.129 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.4556, allocations: 63.16 kB / 1.129 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000756/0.4563, allocations: 313.3 kB / 1.129 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.4564, allocations: 4 kB / 1.129 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4564, allocations: 0 / 1.129 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4564, allocations: 0 / 1.129 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.4578, allocations: 0.8936 MB / 1.13 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4578, allocations: 4 kB / 1.13 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.4581, allocations: 75.94 kB / 1.13 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.4582, allocations: 4 kB / 1.13 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.4582, allocations: 4 kB / 1.13 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.4594, allocations: 2.356 MB / 1.133 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.4594, allocations: 8.125 kB / 1.133 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.4601, allocations: 393.8 kB / 1.133 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.4604, allocations: 168.1 kB / 1.133 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.4606, allocations: 8 kB / 1.133 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.4611, allocations: 47.89 kB / 1.133 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.4612, allocations: 19.97 kB / 1.133 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4612, allocations: 8 kB / 1.133 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007421/0.462, allocations: 483 kB / 1.134 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.462, allocations: 0 / 1.134 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001315/0.4633, allocations: 355 kB / 1.134 GB, free: 5.906 MB / 0.8887 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.0006999/0.464, allocations: 244.8 kB / 1.134 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.466, allocations: 0.4915 MB / 1.135 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.466, allocations: 0 / 1.135 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.4665, allocations: 127.8 kB / 1.135 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.4689, allocations: 380.4 kB / 1.135 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.4713, allocations: 1.364 MB / 1.136 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.4718, allocations: 0.9293 MB / 1.137 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005563/0.4724, allocations: 118.3 kB / 1.137 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.4725, allocations: 51.42 kB / 1.138 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.4725, allocations: 0 / 1.138 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of Templates: time 0.02309/0.4956, allocations: 12.42 MB / 1.15 GB, free: 5.949 MB / 0.9044 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)