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.001179/0.00118, 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.001179/0.001179, allocations: 193.4 kB / 16.25 MB, free: 6.629 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 68.3 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4006, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03561/0.4363, allocations: 30.53 MB / 1.098 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.4525, allocations: 10.78 MB / 1.108 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.4543, allocations: 23.81 kB / 1.108 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.4561, allocations: 334.1 kB / 1.108 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.4604, allocations: 1.057 MB / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.4633, allocations: 0.7697 MB / 1.11 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003484/0.4668, allocations: 2.058 MB / 1.112 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.4683, allocations: 0.666 MB / 1.113 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.4711, allocations: 0.9882 MB / 1.114 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.4727, allocations: 0.6923 MB / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.473, allocations: 56 kB / 1.115 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.4748, allocations: 0.6083 MB / 1.115 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.4752, allocations: 171.2 kB / 1.115 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009111/0.4761, allocations: 429.7 kB / 1.116 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.4784, allocations: 1.086 MB / 1.117 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4784, allocations: 0 / 1.117 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4784, allocations: 0 / 1.117 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.179e-05/0.4784, allocations: 0 / 1.117 GB, free: 8.355 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.002514/0.481, allocations: 1.16 MB / 1.118 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.481, allocations: 12.02 kB / 1.118 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.4813, allocations: 95.81 kB / 1.118 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.4824, allocations: 0.5656 MB / 1.119 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.4824, allocations: 44.94 kB / 1.119 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/0.4825, allocations: 55.98 kB / 1.119 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/0.4835, allocations: 410.4 kB / 1.119 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.4835, allocations: 3.984 kB / 1.119 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.4836, allocations: 16 kB / 1.119 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.4836, allocations: 12 kB / 1.119 GB, free: 5.895 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.4843, allocations: 307.7 kB / 1.119 GB, free: 5.594 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.003576/0.4879, allocations: 1.846 MB / 1.121 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.4883, allocations: 168.6 kB / 1.121 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.4885, allocations: 84.81 kB / 1.121 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/0.4889, allocations: 340.4 kB / 1.122 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.489, allocations: 38.45 kB / 1.122 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.489, allocations: 0 / 1.122 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0008916/0.4899, allocations: 304.6 kB / 1.122 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.4899, allocations: 59.36 kB / 1.122 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009835/0.4909, allocations: 0.6843 MB / 1.123 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.491, allocations: 33.7 kB / 1.123 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.4913, allocations: 356.8 kB / 1.123 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.4914, allocations: 71.02 kB / 1.123 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.4915, allocations: 97.95 kB / 1.123 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4918, allocations: 382.7 kB / 1.124 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.492, allocations: 110.3 kB / 1.124 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.4924, allocations: 187.7 kB / 1.124 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/0.4929, allocations: 233 kB / 1.124 GB, free: 328 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4929, allocations: 0 / 1.124 GB, free: 328 kB / 0.8731 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000872/0.4938, allocations: 397.9 kB / 1.125 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.4938, allocations: 8 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4938, allocations: 0 / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.4938, allocations: 0 / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4949, allocations: 159.8 kB / 1.125 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.4964, allocations: 2.36 MB / 1.127 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000692/0.4971, allocations: 79.81 kB / 1.127 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.4971, allocations: 19.98 kB / 1.127 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000437/0.4976, allocations: 247.8 kB / 1.127 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002989/0.4979, allocations: 191.2 kB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000437/0.4983, allocations: 233.3 kB / 1.128 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.4984, allocations: 4 kB / 1.128 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007563/0.4991, allocations: 376.5 kB / 1.128 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4991, allocations: 8 kB / 1.128 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.4991, allocations: 0 / 1.128 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.4992, allocations: 4 kB / 1.128 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.4996, allocations: 99.81 kB / 1.128 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4996, allocations: 4 kB / 1.128 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.5002, allocations: 71.66 kB / 1.128 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.5003, allocations: 24.17 kB / 1.128 GB, free: 11.93 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.0001738/0.5004, allocations: 196.5 kB / 1.128 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.5006, allocations: 71.14 kB / 1.129 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.5013, allocations: 308.6 kB / 1.129 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.5013, allocations: 4 kB / 1.129 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.5013, allocations: 0 / 1.129 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5013, allocations: 0 / 1.129 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.5028, allocations: 0.9051 MB / 1.13 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5028, allocations: 0 / 1.13 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.5031, allocations: 71.88 kB / 1.13 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5032, allocations: 0 / 1.13 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.5032, allocations: 8 kB / 1.13 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.5043, allocations: 2.356 MB / 1.132 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5044, allocations: 288 / 1.132 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.5049, allocations: 393.8 kB / 1.133 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.5052, allocations: 176.1 kB / 1.133 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5053, allocations: 4 kB / 1.133 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.5058, allocations: 51.94 kB / 1.133 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.5059, allocations: 15.98 kB / 1.133 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.5059, allocations: 7.984 kB / 1.133 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007687/0.5067, allocations: 479 kB / 1.133 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5067, allocations: 0 / 1.133 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001251/0.5079, allocations: 355 kB / 1.134 GB, free: 6.355 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.0006594/0.5086, allocations: 253.6 kB / 1.134 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.5104, allocations: 0.4914 MB / 1.134 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5104, allocations: 4.062 kB / 1.134 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.5108, allocations: 133.3 kB / 1.134 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.5127, allocations: 336.1 kB / 1.135 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.5151, allocations: 1.368 MB / 1.136 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006791/0.5158, allocations: 0.9374 MB / 1.137 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005533/0.5163, allocations: 116.2 kB / 1.137 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.5165, allocations: 55.42 kB / 1.137 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/0.5165, allocations: 0 / 1.137 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of Templates: time 0.02862/0.5451, allocations: 12.48 MB / 1.149 GB, free: 6.355 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)