Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008308/0.0008309, allocations: 97.88 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.006271/0.006271, allocations: 171 kB / 16.27 MB, free: 6.324 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 9.438 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3959, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03178/0.4277, allocations: 29.87 MB / 1.103 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.4502, allocations: 10.72 MB / 1.114 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/0.4524, allocations: 23.88 kB / 1.114 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.4543, allocations: 306.1 kB / 1.114 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006667/0.461, allocations: 1.069 MB / 1.115 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004761/0.4658, allocations: 0.759 MB / 1.116 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006276/0.4721, allocations: 2.834 MB / 1.119 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.4739, allocations: 0.573 MB / 1.119 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/0.4776, allocations: 0.8867 MB / 1.12 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/0.48, allocations: 0.6689 MB / 1.121 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.4803, allocations: 32 kB / 1.121 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.4829, allocations: 0.577 MB / 1.121 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004079/0.4833, allocations: 131.3 kB / 1.121 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.4845, allocations: 427.4 kB / 1.122 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.4874, allocations: 1.047 MB / 1.123 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4874, allocations: 0 / 1.123 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.995e-06/0.4874, allocations: 0 / 1.123 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.043e-05/0.4875, allocations: 4 kB / 1.123 GB, free: 5.434 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.00347/0.491, allocations: 1.024 MB / 1.124 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.062e-05/0.491, allocations: 12.03 kB / 1.124 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004341/0.4915, allocations: 95.81 kB / 1.124 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.4932, allocations: 0.5578 MB / 1.125 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.4933, allocations: 45 kB / 1.125 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.4935, allocations: 52 kB / 1.125 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.495, allocations: 418.4 kB / 1.125 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.4951, allocations: 0 / 1.125 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.4951, allocations: 20 kB / 1.125 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/0.4952, allocations: 12 kB / 1.125 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.4965, allocations: 311.8 kB / 1.125 GB, free: 2.812 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.005689/0.5022, allocations: 1.865 MB / 1.127 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006848/0.5029, allocations: 168.6 kB / 1.127 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.5033, allocations: 88.86 kB / 1.127 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/0.5038, allocations: 356.4 kB / 1.128 GB, free: 112 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.5039, allocations: 34.52 kB / 1.128 GB, free: 68 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 3.467e-06/0.5039, allocations: 0 / 1.128 GB, free: 68 kB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001483/0.5054, allocations: 318.5 kB / 1.128 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.5055, allocations: 55.36 kB / 1.128 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.5072, allocations: 0.6843 MB / 1.129 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/0.5073, allocations: 33.7 kB / 1.129 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.5078, allocations: 364.7 kB / 1.129 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.5079, allocations: 67.03 kB / 1.129 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.508, allocations: 45.69 kB / 1.129 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000267/0.5083, allocations: 378.7 kB / 1.13 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.5088, allocations: 120.6 kB / 1.13 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.5095, allocations: 179.8 kB / 1.13 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009912/0.5105, allocations: 245 kB / 1.13 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5105, allocations: 3.938 kB / 1.13 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001668/0.5122, allocations: 414.1 kB / 1.131 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.5124, allocations: 107 kB / 1.131 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5124, allocations: 0 / 1.131 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.27e-05/0.5124, allocations: 8 kB / 1.131 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.5143, allocations: 159.9 kB / 1.131 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.5167, allocations: 2.368 MB / 1.133 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.518, allocations: 83.62 kB / 1.133 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.558e-05/0.5181, allocations: 19.98 kB / 1.133 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5181, allocations: 4 kB / 1.133 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/0.5193, allocations: 291.8 kB / 1.134 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5193, allocations: 0 / 1.134 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5194, allocations: 8 kB / 1.134 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.5202, allocations: 99.88 kB / 1.134 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5203, allocations: 4 kB / 1.134 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.5214, allocations: 87.5 kB / 1.134 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.5215, allocations: 15.98 kB / 1.134 GB, free: 9.773 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.0005914/0.5221, allocations: 261 kB / 1.134 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.5223, allocations: 67.16 kB / 1.134 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.5236, allocations: 337.2 kB / 1.134 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.5237, allocations: 0 / 1.134 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.5237, allocations: 3.938 kB / 1.134 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.5237, allocations: 4 kB / 1.134 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.5267, allocations: 0.9008 MB / 1.135 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/0.5268, allocations: 4 kB / 1.135 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/0.5275, allocations: 83.8 kB / 1.135 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.5275, allocations: 4 kB / 1.135 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.5275, allocations: 4 kB / 1.135 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.5298, allocations: 2.356 MB / 1.138 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/0.5298, allocations: 7.969 kB / 1.138 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009927/0.5308, allocations: 402.8 kB / 1.138 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.5313, allocations: 172 kB / 1.138 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.5316, allocations: 8 kB / 1.138 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008343/0.5324, allocations: 51.94 kB / 1.138 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.5325, allocations: 15.92 kB / 1.138 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.5326, allocations: 15.98 kB / 1.138 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001225/0.5338, allocations: 475 kB / 1.139 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7.61e-07/0.5338, allocations: 0 / 1.139 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001878/0.5357, allocations: 351.1 kB / 1.139 GB, free: 4.074 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.001013/0.5368, allocations: 229.6 kB / 1.139 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003121/0.5399, allocations: 0.5235 MB / 1.14 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5399, allocations: 0 / 1.14 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.5407, allocations: 139.9 kB / 1.14 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/0.5447, allocations: 372.8 kB / 1.14 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.5485, allocations: 1.385 MB / 1.142 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008008/0.5493, allocations: 0.9408 MB / 1.143 GB, free: 452 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009204/0.5503, allocations: 124 kB / 1.143 GB, free: 328 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.5505, allocations: 47.44 kB / 1.143 GB, free: 280 kB / 0.8887 GB Notification: Performance of SimCode: time 1.152e-06/0.5505, allocations: 0 / 1.143 GB, free: 280 kB / 0.8887 GB Notification: Performance of Templates: time 0.03625/0.5868, allocations: 12.36 MB / 1.155 GB, free: 4.109 MB / 0.9044 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)