Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00158/0.00158, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001986/0.001987, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.713/1.713, allocations: 205.1 MB / 222.1 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.3 MB / 0.5485 GB, free: 13.61 MB / 462.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.001405/0.001406, allocations: 75.88 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3135, allocations: 114.5 MB / 0.7829 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03122/0.3447, allocations: 30.8 MB / 0.8129 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02341/0.3682, allocations: 13.97 MB / 0.8266 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003316/0.3716, allocations: 27.75 kB / 0.8266 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.374, allocations: 330.1 kB / 0.8269 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006461/0.3805, allocations: 1.057 MB / 0.828 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.3837, allocations: 0.7676 MB / 0.8287 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004602/0.3883, allocations: 2.046 MB / 0.8307 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.3895, allocations: 0.6466 MB / 0.8313 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003349/0.3929, allocations: 0.9765 MB / 0.8323 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.3944, allocations: 0.6884 MB / 0.833 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.3946, allocations: 56 kB / 0.833 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.3964, allocations: 0.6082 MB / 0.8336 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.3966, allocations: 167.3 kB / 0.8338 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006567/0.3973, allocations: 421.8 kB / 0.8342 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.3991, allocations: 1.086 MB / 0.8352 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3991, allocations: 0 / 0.8352 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3991, allocations: 0 / 0.8352 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.3991, allocations: 4 kB / 0.8352 GB, free: 8.035 MB / 0.6544 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.001914/0.401, allocations: 1.152 MB / 0.8364 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.4011, allocations: 8.031 kB / 0.8364 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.4013, allocations: 99.81 kB / 0.8365 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.4021, allocations: 0.5575 MB / 0.837 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.4022, allocations: 48.92 kB / 0.8371 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.4022, allocations: 52 kB / 0.8371 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.403, allocations: 414.4 kB / 0.8375 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.4031, allocations: 7.922 kB / 0.8375 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.4031, allocations: 16 kB / 0.8375 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.4031, allocations: 8 kB / 0.8375 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.4037, allocations: 303.8 kB / 0.8378 GB, free: 5.285 MB / 0.6544 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.002777/0.4065, allocations: 1.85 MB / 0.8396 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.4069, allocations: 170.5 kB / 0.8398 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.4071, allocations: 80.81 kB / 0.8399 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/0.4076, allocations: 336.4 kB / 0.8402 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.4076, allocations: 38.5 kB / 0.8402 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/0.4076, allocations: 4 kB / 0.8402 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0007918/0.4084, allocations: 307.2 kB / 0.8405 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.4085, allocations: 55.41 kB / 0.8406 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007755/0.4092, allocations: 0.6725 MB / 0.8412 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.4093, allocations: 29.7 kB / 0.8413 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.4096, allocations: 364.1 kB / 0.8416 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.4097, allocations: 66.95 kB / 0.8417 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.4098, allocations: 97.58 kB / 0.8418 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.41, allocations: 378.7 kB / 0.8421 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.4103, allocations: 112.8 kB / 0.8422 GB, free: 472 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.4106, allocations: 185.7 kB / 0.8424 GB, free: 264 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.4111, allocations: 241 kB / 0.8426 GB, free: 16 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4111, allocations: 0 / 0.8426 GB, free: 16 kB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007343/0.4118, allocations: 390 kB / 0.843 GB, free: 15.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4118, allocations: 4 kB / 0.843 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4119, allocations: 0 / 0.843 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4119, allocations: 4 kB / 0.843 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.413, allocations: 163.8 kB / 0.8432 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.4146, allocations: 2.36 MB / 0.8455 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/0.4154, allocations: 83.84 kB / 0.8456 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.4154, allocations: 20.09 kB / 0.8456 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004621/0.4159, allocations: 252.7 kB / 0.8458 GB, free: 12.65 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002849/0.4162, allocations: 179.4 kB / 0.846 GB, free: 12.45 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004552/0.4167, allocations: 231.4 kB / 0.8462 GB, free: 12.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.4167, allocations: 0 / 0.8462 GB, free: 12.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.000681/0.4174, allocations: 380.2 kB / 0.8466 GB, free: 11.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4174, allocations: 4 kB / 0.8466 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.4174, allocations: 0 / 0.8466 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.4174, allocations: 7.938 kB / 0.8466 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.4178, allocations: 95.88 kB / 0.8467 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.4179, allocations: 4.031 kB / 0.8467 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.4184, allocations: 71.72 kB / 0.8467 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.4184, allocations: 19.98 kB / 0.8468 GB, free: 11.64 MB / 0.67 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.000158/0.4186, allocations: 199 kB / 0.847 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.4187, allocations: 71.09 kB / 0.847 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006778/0.4194, allocations: 308.1 kB / 0.8473 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.4194, allocations: 0 / 0.8473 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.4194, allocations: 3.984 kB / 0.8473 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4194, allocations: 0 / 0.8473 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.4208, allocations: 0.8915 MB / 0.8482 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4208, allocations: 4 kB / 0.8482 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.4212, allocations: 75.88 kB / 0.8483 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4212, allocations: 4 kB / 0.8483 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.4212, allocations: 8 kB / 0.8483 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.4226, allocations: 2.36 MB / 0.8506 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4226, allocations: 0 / 0.8506 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.4232, allocations: 397.9 kB / 0.851 GB, free: 7.137 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.4234, allocations: 168.1 kB / 0.8511 GB, free: 6.953 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.4234, allocations: 4 kB / 0.8511 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.4238, allocations: 47.86 kB / 0.8512 GB, free: 6.902 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.4239, allocations: 23.91 kB / 0.8512 GB, free: 6.879 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.4239, allocations: 8 kB / 0.8512 GB, free: 6.871 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005502/0.4245, allocations: 475 kB / 0.8517 GB, free: 6.414 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4245, allocations: 0 / 0.8517 GB, free: 6.414 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000927/0.4254, allocations: 343.2 kB / 0.852 GB, free: 6.078 MB / 0.67 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.0005448/0.426, allocations: 248.7 kB / 0.8522 GB, free: 5.84 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.4276, allocations: 0.4997 MB / 0.8527 GB, free: 5.34 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4277, allocations: 0 / 0.8527 GB, free: 5.34 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.428, allocations: 131.9 kB / 0.8528 GB, free: 5.211 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.4297, allocations: 343.6 kB / 0.8532 GB, free: 4.883 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.4318, allocations: 1.359 MB / 0.8545 GB, free: 3.488 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.4322, allocations: 0.9257 MB / 0.8554 GB, free: 2.535 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000465/0.4327, allocations: 116.5 kB / 0.8555 GB, free: 2.422 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.4328, allocations: 51.42 kB / 0.8555 GB, free: 2.371 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/0.4328, allocations: 3.938 kB / 0.8556 GB, free: 2.367 MB / 0.67 GB Notification: Performance of Templates: time 0.02855/0.4614, allocations: 12.59 MB / 0.8679 GB, free: 6.004 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)