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.0008625/0.0008625, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005373/0.005373, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003856, allocations: 7.688 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.378, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0331/0.4111, allocations: 29.86 MB / 1.103 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01454/0.4257, allocations: 10.72 MB / 1.114 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.4272, allocations: 23.81 kB / 1.114 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.4284, allocations: 318.1 kB / 1.114 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003282/0.4317, allocations: 1.065 MB / 1.115 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.4342, allocations: 0.7626 MB / 1.116 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003725/0.438, allocations: 2.834 MB / 1.119 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009311/0.4389, allocations: 0.573 MB / 1.119 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.4409, allocations: 0.8789 MB / 1.12 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.442, allocations: 0.6767 MB / 1.121 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.062e-05/0.442, allocations: 32 kB / 1.121 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.4434, allocations: 0.5692 MB / 1.121 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.4436, allocations: 139.3 kB / 1.121 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.4441, allocations: 423.4 kB / 1.122 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.4454, allocations: 1.047 MB / 1.123 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4454, allocations: 0 / 1.123 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4454, allocations: 0 / 1.123 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.4454, allocations: 0 / 1.123 GB, free: 5.449 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.0017/0.4472, allocations: 1.028 MB / 1.124 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4472, allocations: 12.03 kB / 1.124 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.4474, allocations: 99.75 kB / 1.124 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008281/0.4482, allocations: 0.5578 MB / 1.125 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.4482, allocations: 41 kB / 1.125 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.369e-05/0.4483, allocations: 56 kB / 1.125 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007889/0.4491, allocations: 414.4 kB / 1.125 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4492, allocations: 4 kB / 1.125 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.4492, allocations: 20 kB / 1.125 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.4492, allocations: 12 kB / 1.125 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.4499, allocations: 311.8 kB / 1.125 GB, free: 2.82 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.002813/0.4527, allocations: 1.869 MB / 1.127 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.4531, allocations: 170.5 kB / 1.127 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.4533, allocations: 88.86 kB / 1.127 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.4536, allocations: 344.4 kB / 1.128 GB, free: 124 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4536, allocations: 46.52 kB / 1.128 GB, free: 68 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.4536, allocations: 0 / 1.128 GB, free: 68 kB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0007695/0.4544, allocations: 318.3 kB / 1.128 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.4545, allocations: 55.36 kB / 1.128 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.4553, allocations: 0.6804 MB / 1.129 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.4553, allocations: 33.7 kB / 1.129 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.4556, allocations: 356.7 kB / 1.129 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.4557, allocations: 75.03 kB / 1.129 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.4557, allocations: 41.69 kB / 1.129 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4559, allocations: 378.7 kB / 1.13 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.4562, allocations: 116.6 kB / 1.13 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.4565, allocations: 183.8 kB / 1.13 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.457, allocations: 249 kB / 1.13 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.457, allocations: 0 / 1.13 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007277/0.4577, allocations: 410.2 kB / 1.131 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/0.4578, allocations: 110.9 kB / 1.131 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4578, allocations: 0 / 1.131 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4578, allocations: 4 kB / 1.131 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.4589, allocations: 164 kB / 1.131 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.4602, allocations: 2.371 MB / 1.133 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/0.4609, allocations: 87.75 kB / 1.133 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.4609, allocations: 15.98 kB / 1.133 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/0.461, allocations: 4 kB / 1.133 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005922/0.4616, allocations: 291.8 kB / 1.134 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4616, allocations: 0 / 1.134 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.4616, allocations: 4 kB / 1.134 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.462, allocations: 103.9 kB / 1.134 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.462, allocations: 4 kB / 1.134 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.4625, allocations: 83.5 kB / 1.134 GB, free: 9.797 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.4626, allocations: 15.98 kB / 1.134 GB, free: 9.781 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.0003261/0.4629, allocations: 261 kB / 1.134 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.463, allocations: 67.16 kB / 1.134 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.4637, allocations: 330.6 kB / 1.134 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.4638, allocations: 0 / 1.134 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4638, allocations: 3.938 kB / 1.134 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4638, allocations: 3.984 kB / 1.134 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.4653, allocations: 0.9047 MB / 1.135 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4653, allocations: 4 kB / 1.135 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.4656, allocations: 75.86 kB / 1.135 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.4656, allocations: 4 kB / 1.135 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.4657, allocations: 4 kB / 1.135 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.4668, allocations: 2.356 MB / 1.138 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.4668, allocations: 7.969 kB / 1.138 GB, free: 5.594 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.4674, allocations: 398.1 kB / 1.138 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.4677, allocations: 180 kB / 1.138 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.4678, allocations: 12 kB / 1.138 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.4682, allocations: 43.95 kB / 1.138 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.4683, allocations: 19.97 kB / 1.138 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.4683, allocations: 8 kB / 1.138 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006517/0.469, allocations: 483 kB / 1.139 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7.72e-07/0.469, allocations: 0 / 1.139 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001054/0.4701, allocations: 355 kB / 1.139 GB, free: 4.082 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.0006199/0.4707, allocations: 235.7 kB / 1.139 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.4725, allocations: 0.5166 MB / 1.14 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4725, allocations: 0 / 1.14 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.473, allocations: 147.8 kB / 1.14 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.4753, allocations: 360.7 kB / 1.14 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.4777, allocations: 1.396 MB / 1.142 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.4782, allocations: 0.9292 MB / 1.143 GB, free: 468 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005624/0.4788, allocations: 120.8 kB / 1.143 GB, free: 348 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.4789, allocations: 55.36 kB / 1.143 GB, free: 292 kB / 0.8887 GB Notification: Performance of SimCode: time 8.11e-07/0.479, allocations: 4 kB / 1.143 GB, free: 288 kB / 0.8887 GB Notification: Performance of Templates: time 0.02583/0.5048, allocations: 12.35 MB / 1.155 GB, free: 4.129 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)