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.007681/0.007681, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001487/0.001487, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.654/1.654, allocations: 251.7 MB / 0.5094 GB, free: 2.984 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.002486/0.002486, allocations: 75.88 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2977, allocations: 104.7 MB / 0.828 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.7574/1.055, allocations: 155.1 MB / 0.9796 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0583/1.113, allocations: 34.69 MB / 1.013 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007175/1.121, allocations: 161.1 kB / 1.014 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003735/1.125, allocations: 1.047 MB / 1.015 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009937/1.134, allocations: 3.117 MB / 1.018 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006744/1.141, allocations: 2.513 MB / 1.02 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009363/1.151, allocations: 5.311 MB / 1.025 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003885/1.155, allocations: 2.193 MB / 1.027 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007932/1.163, allocations: 2.661 MB / 1.03 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004751/1.167, allocations: 1.937 MB / 1.032 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008509/1.168, allocations: 212 kB / 1.032 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/1.172, allocations: 1.08 MB / 1.033 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000676/1.173, allocations: 0.5448 MB / 1.034 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002321/1.175, allocations: 1.255 MB / 1.035 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006316/1.181, allocations: 3.279 MB / 1.038 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.181, allocations: 0 / 1.038 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/1.181, allocations: 4 kB / 1.038 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.82e-05/1.182, allocations: 0 / 1.038 GB, free: 12.36 MB / 0.7794 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.005362/1.187, allocations: 2.832 MB / 1.041 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.187, allocations: 12.03 kB / 1.041 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/1.187, allocations: 270.3 kB / 1.041 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/1.19, allocations: 1.501 MB / 1.043 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/1.19, allocations: 106.3 kB / 1.043 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/1.19, allocations: 140 kB / 1.043 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/1.192, allocations: 1.167 MB / 1.044 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/1.192, allocations: 0 / 1.044 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.891e-05/1.193, allocations: 44 kB / 1.044 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/1.193, allocations: 31.94 kB / 1.044 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/1.194, allocations: 1.009 MB / 1.045 GB, free: 5.086 MB / 0.7794 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.01007/1.204, allocations: 6.293 MB / 1.051 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009388/1.205, allocations: 0.5475 MB / 1.052 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/1.206, allocations: 382.4 kB / 1.052 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004291/1.206, allocations: 0.507 MB / 1.053 GB, free: 12.77 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.206, allocations: 47.05 kB / 1.053 GB, free: 12.72 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001307/1.208, allocations: 239.2 kB / 1.053 GB, free: 12.48 MB / 0.795 GB Notification: Performance of pre-optimization done (n=58): time 2.845e-06/1.208, allocations: 0 / 1.053 GB, free: 12.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=58): time 0.002091/1.21, allocations: 1.154 MB / 1.054 GB, free: 11.32 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.21, allocations: 63.91 kB / 1.054 GB, free: 11.25 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/1.212, allocations: 1.851 MB / 1.056 GB, free: 9.371 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.036e-05/1.212, allocations: 45.7 kB / 1.056 GB, free: 9.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/1.213, allocations: 0.9118 MB / 1.057 GB, free: 8.398 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/1.213, allocations: 214.1 kB / 1.057 GB, free: 8.188 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004309/1.214, allocations: 298.7 kB / 1.057 GB, free: 7.891 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.214, allocations: 353.9 kB / 1.058 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007746/1.215, allocations: 449.9 kB / 1.058 GB, free: 7.098 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/1.216, allocations: 0.6956 MB / 1.059 GB, free: 6.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/1.217, allocations: 0.9774 MB / 1.06 GB, free: 5.305 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.217, allocations: 0 / 1.06 GB, free: 5.305 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002565/1.22, allocations: 1.433 MB / 1.061 GB, free: 3.863 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.22, allocations: 11.94 kB / 1.061 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.22, allocations: 4 kB / 1.061 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.22, allocations: 8 kB / 1.061 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.221, allocations: 283.5 kB / 1.061 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.221, allocations: 11.94 kB / 1.061 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.223, allocations: 83.92 kB / 1.061 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.223, allocations: 63.94 kB / 1.062 GB, free: 3.406 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001292/1.224, allocations: 0.7095 MB / 1.062 GB, free: 2.691 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000952/1.225, allocations: 0.6684 MB / 1.063 GB, free: 1.945 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00143/1.226, allocations: 0.9227 MB / 1.064 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.928e-06/1.226, allocations: 4 kB / 1.064 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00247/1.229, allocations: 1.386 MB / 1.065 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.229, allocations: 4 kB / 1.065 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.229, allocations: 4.375 kB / 1.065 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/1.229, allocations: 12 kB / 1.065 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.23, allocations: 283.5 kB / 1.065 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.23, allocations: 8 kB / 1.065 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/1.232, allocations: 95.84 kB / 1.066 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.232, allocations: 59.95 kB / 1.066 GB, free: 15.12 MB / 0.8106 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.0004169/1.232, allocations: 246.1 kB / 1.066 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/1.233, allocations: 206.6 kB / 1.066 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/1.235, allocations: 1.09 MB / 1.067 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/1.235, allocations: 8 kB / 1.067 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.235, allocations: 4.031 kB / 1.067 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/1.235, allocations: 7.969 kB / 1.067 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004228/1.239, allocations: 2.405 MB / 1.069 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.24, allocations: 0 / 1.069 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/1.24, allocations: 135.8 kB / 1.07 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/1.24, allocations: 8.188 kB / 1.07 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/1.24, allocations: 23.98 kB / 1.07 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/1.24, allocations: 4 kB / 1.07 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.24, allocations: 4 kB / 1.07 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/1.242, allocations: 1.075 MB / 1.071 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006363/1.243, allocations: 351.5 kB / 1.071 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/1.243, allocations: 12 kB / 1.071 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007477/1.244, allocations: 43.95 kB / 1.071 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/1.244, allocations: 44.59 kB / 1.071 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/1.244, allocations: 31.98 kB / 1.071 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001843/1.246, allocations: 1.212 MB / 1.072 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/1.246, allocations: 4 kB / 1.072 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00256/1.248, allocations: 0.9046 MB / 1.073 GB, free: 7.16 MB / 0.8106 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.0009464/1.249, allocations: 347.6 kB / 1.074 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003114/1.252, allocations: 1.649 MB / 1.075 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.252, allocations: 3.938 kB / 1.075 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006379/1.253, allocations: 408.8 kB / 1.076 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005122/1.258, allocations: 1.108 MB / 1.077 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/1.263, allocations: 3.009 MB / 1.08 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009495/1.264, allocations: 1.397 MB / 1.081 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001853/1.266, allocations: 398.8 kB / 1.081 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/1.266, allocations: 167.4 kB / 1.081 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of SimCode: time 7.92e-07/1.266, allocations: 0 / 1.081 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of Templates: time 0.06397/1.33, allocations: 38.84 MB / 1.119 GB, free: 8.453 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (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)