Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.649/2.649, allocations: 287.9 MB / 302.9 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 180.5 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 93.25 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004864, allocations: 17.03 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1566, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02655/0.1832, allocations: 25.4 MB / 1.004 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.203, allocations: 10.33 MB / 1.014 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.2048, allocations: 35.62 kB / 1.014 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.2073, allocations: 0.6262 MB / 1.014 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.213, allocations: 1.378 MB / 1.016 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01043/0.2234, allocations: 2.894 MB / 1.018 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004238/0.2277, allocations: 2.093 MB / 1.021 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.2298, allocations: 1.098 MB / 1.022 GB, free: 264 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.2328, allocations: 1.274 MB / 1.023 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/0.236, allocations: 1.282 MB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005153/0.2365, allocations: 67.98 kB / 1.024 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.2393, allocations: 0.901 MB / 1.025 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006186/0.24, allocations: 330.9 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005394/0.2405, allocations: 249.1 kB / 1.026 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.2433, allocations: 1.528 MB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.813e-06/0.2433, allocations: 0 / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.302e-06/0.2433, allocations: 3.938 kB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.225e-05/0.2434, allocations: 0 / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00289/0.2463, allocations: 1.332 MB / 1.028 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2463, allocations: 8.031 kB / 1.028 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005334/0.2469, allocations: 146.5 kB / 1.029 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.2492, allocations: 0.8486 MB / 1.029 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.2493, allocations: 81.31 kB / 1.029 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/0.2496, allocations: 116 kB / 1.03 GB, free: 8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.2511, allocations: 0.6395 MB / 1.03 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.2512, allocations: 0 / 1.03 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.2513, allocations: 20 kB / 1.03 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.2513, allocations: 16 kB / 1.03 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.2526, allocations: 476.8 kB / 1.031 GB, free: 6.832 MB / 0.6511 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.006355/0.259, allocations: 2.871 MB / 1.033 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008853/0.2599, allocations: 323.1 kB / 1.034 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.2603, allocations: 340.7 kB / 1.034 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2604, allocations: 34.84 kB / 1.034 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.581e-06/0.2604, allocations: 0 / 1.034 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.00187/0.2623, allocations: 0.5442 MB / 1.035 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.2624, allocations: 55.41 kB / 1.035 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.2639, allocations: 0.8829 MB / 1.036 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.2642, allocations: 57.7 kB / 1.036 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006589/0.2649, allocations: 0.5374 MB / 1.036 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.265, allocations: 114.4 kB / 1.036 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.2651, allocations: 16 kB / 1.036 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2653, allocations: 322 kB / 1.037 GB, free: 468 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/0.2659, allocations: 177.2 kB / 1.037 GB, free: 288 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.2677, allocations: 1.136 MB / 1.038 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007577/0.2685, allocations: 306.8 kB / 1.038 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.017e-06/0.2685, allocations: 0 / 1.038 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00193/0.2704, allocations: 0.6461 MB / 1.039 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004531/0.2709, allocations: 0.8114 MB / 1.04 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.2709, allocations: 4 kB / 1.04 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.271, allocations: 4 kB / 1.04 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.2728, allocations: 235.6 kB / 1.04 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.2751, allocations: 2.961 MB / 1.043 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/0.2794, allocations: 0.7535 MB / 1.043 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.2796, allocations: 27.98 kB / 1.043 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2797, allocations: 4 kB / 1.043 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001508/0.2812, allocations: 0.4973 MB / 1.044 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2812, allocations: 4 kB / 1.044 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2813, allocations: 8.031 kB / 1.044 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009298/0.2822, allocations: 159.8 kB / 1.044 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.2822, allocations: 7.938 kB / 1.044 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/0.2863, allocations: 0.738 MB / 1.045 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.2865, allocations: 27.98 kB / 1.045 GB, free: 7.414 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007667/0.2873, allocations: 332.4 kB / 1.045 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.2875, allocations: 94.78 kB / 1.045 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.2891, allocations: 0.5171 MB / 1.046 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.2891, allocations: 4 kB / 1.046 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6e-06/0.2891, allocations: 0 / 1.046 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.802e-06/0.2892, allocations: 7.922 kB / 1.046 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.2922, allocations: 1.267 MB / 1.047 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.562e-06/0.2922, allocations: 4 kB / 1.047 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/0.293, allocations: 128 kB / 1.047 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.89e-06/0.293, allocations: 0 / 1.047 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.2931, allocations: 19.94 kB / 1.047 GB, free: 4.969 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.2952, allocations: 2.942 MB / 1.05 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.875e-06/0.2953, allocations: 0 / 1.05 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.2967, allocations: 0.6258 MB / 1.051 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.2972, allocations: 219.7 kB / 1.051 GB, free: 1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.2974, allocations: 7.984 kB / 1.051 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007322/0.2981, allocations: 71.78 kB / 1.051 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.2982, allocations: 23.97 kB / 1.051 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.2983, allocations: 19.92 kB / 1.051 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001083/0.2994, allocations: 0.5845 MB / 1.052 GB, free: 292 kB / 0.6667 GB Notification: Performance of sort global known variables: time 8.82e-07/0.2994, allocations: 0 / 1.052 GB, free: 292 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002023/0.3014, allocations: 0.5345 MB / 1.052 GB, free: 15.75 MB / 0.6823 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009069/0.3024, allocations: 316.5 kB / 1.052 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003427/0.3058, allocations: 0.8394 MB / 1.053 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.871e-06/0.3059, allocations: 0 / 1.053 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000914/0.3068, allocations: 247.5 kB / 1.053 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.3098, allocations: 493.7 kB / 1.054 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.3134, allocations: 1.77 MB / 1.056 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008474/0.3143, allocations: 1.046 MB / 1.057 GB, free: 11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001447/0.3158, allocations: 211.1 kB / 1.057 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.316, allocations: 83.42 kB / 1.057 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.923e-06/0.3161, allocations: 0 / 1.057 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.5926/0.9086, allocations: 23.72 MB / 1.08 GB, free: 84.44 MB / 0.6823 GB