Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.488/2.488, allocations: 287.9 MB / 302.9 MB, free: 8.309 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.001458/0.001458, allocations: 175.4 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.16/2.16, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.00193/0.00193, allocations: 102 kB / 0.7434 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004615, allocations: 19.41 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1876, allocations: 115.2 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0273/0.2149, allocations: 26.09 MB / 1.004 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.2368, allocations: 12.26 MB / 1.016 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.2382, allocations: 31.69 kB / 1.016 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.2401, allocations: 0.5095 MB / 1.017 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.2444, allocations: 1.097 MB / 1.018 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.008373/0.2528, allocations: 2.313 MB / 1.02 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002677/0.2555, allocations: 1.238 MB / 1.021 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.2565, allocations: 0.5343 MB / 1.022 GB, free: 12 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.2584, allocations: 0.7631 MB / 1.023 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008641/0.2593, allocations: 462 kB / 1.023 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.2594, allocations: 32 kB / 1.023 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.2606, allocations: 383.4 kB / 1.023 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.2609, allocations: 131.4 kB / 1.023 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.2611, allocations: 177.3 kB / 1.024 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.2623, allocations: 0.7051 MB / 1.024 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.908e-06/0.2623, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.269e-06/0.2623, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2624, allocations: 4 kB / 1.024 GB, free: 13.37 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001954/0.2643, allocations: 0.9963 MB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2644, allocations: 8.031 kB / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.2646, allocations: 94.88 kB / 1.025 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.2656, allocations: 0.5343 MB / 1.026 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.2657, allocations: 45 kB / 1.026 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.2658, allocations: 52 kB / 1.026 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.2669, allocations: 410.4 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.2669, allocations: 0 / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.267, allocations: 23.95 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.267, allocations: 12 kB / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008493/0.2679, allocations: 307.8 kB / 1.027 GB, free: 10.8 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.003704/0.2716, allocations: 1.858 MB / 1.029 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.2721, allocations: 166.5 kB / 1.029 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.2725, allocations: 336.5 kB / 1.029 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.2726, allocations: 38.5 kB / 1.029 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 3.248e-06/0.2726, allocations: 0 / 1.029 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0009864/0.2736, allocations: 331.8 kB / 1.029 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.2736, allocations: 51.41 kB / 1.029 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.2747, allocations: 0.6725 MB / 1.03 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.2748, allocations: 33.7 kB / 1.03 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.2752, allocations: 356.1 kB / 1.03 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.2753, allocations: 71.02 kB / 1.031 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.2753, allocations: 4 kB / 1.031 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002393/0.2756, allocations: 382.7 kB / 1.031 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.2759, allocations: 99.94 kB / 1.031 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.2764, allocations: 182 kB / 1.031 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.2768, allocations: 125.5 kB / 1.031 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.659e-06/0.2768, allocations: 0 / 1.031 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001026/0.2778, allocations: 395.2 kB / 1.032 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.278, allocations: 274.9 kB / 1.032 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.278, allocations: 3.953 kB / 1.032 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2781, allocations: 4 kB / 1.032 GB, free: 5.148 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.2793, allocations: 167.9 kB / 1.032 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.2813, allocations: 2.36 MB / 1.034 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.2821, allocations: 83.66 kB / 1.035 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.2822, allocations: 15.98 kB / 1.035 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.2822, allocations: 4 kB / 1.035 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000856/0.2831, allocations: 291.8 kB / 1.035 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.977e-06/0.2831, allocations: 4 kB / 1.035 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.871e-06/0.2831, allocations: 0 / 1.035 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.2837, allocations: 111.8 kB / 1.035 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.346e-06/0.2837, allocations: 0 / 1.035 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.2844, allocations: 87.53 kB / 1.035 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.2845, allocations: 12 kB / 1.035 GB, free: 1.934 MB / 0.6511 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 (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000426/0.2849, allocations: 269 kB / 1.035 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.2851, allocations: 67.16 kB / 1.035 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009409/0.286, allocations: 312.1 kB / 1.036 GB, free: 1.285 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.2861, allocations: 11.94 kB / 1.036 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.256e-06/0.2861, allocations: 0 / 1.036 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.11e-06/0.2861, allocations: 3.938 kB / 1.036 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.288, allocations: 0.8917 MB / 1.037 GB, free: 316 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.082e-06/0.2881, allocations: 8.125 kB / 1.037 GB, free: 308 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.2885, allocations: 75.88 kB / 1.037 GB, free: 232 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.914e-06/0.2885, allocations: 4 kB / 1.037 GB, free: 228 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.2886, allocations: 0 / 1.037 GB, free: 228 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.2902, allocations: 2.367 MB / 1.039 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.805e-06/0.2902, allocations: 4.031 kB / 1.039 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.2911, allocations: 459.1 kB / 1.039 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.2914, allocations: 164.2 kB / 1.04 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.2915, allocations: 7.938 kB / 1.04 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/0.2921, allocations: 59.78 kB / 1.04 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.2921, allocations: 15.94 kB / 1.04 GB, free: 13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.2922, allocations: 20 kB / 1.04 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007632/0.293, allocations: 463 kB / 1.04 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.55e-07/0.293, allocations: 0 / 1.04 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001134/0.2941, allocations: 339.2 kB / 1.04 GB, free: 12.2 MB / 0.6667 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 (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005843/0.2947, allocations: 249.1 kB / 1.041 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.2968, allocations: 0.4922 MB / 1.041 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.062e-06/0.2968, allocations: 3.938 kB / 1.041 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.2974, allocations: 149.1 kB / 1.041 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.2997, allocations: 371.1 kB / 1.042 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.3023, allocations: 1.311 MB / 1.043 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/0.3031, allocations: 0.9453 MB / 1.044 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007055/0.3038, allocations: 125.1 kB / 1.044 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.3039, allocations: 51.42 kB / 1.044 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of SimCode: time 1.444e-06/0.304, allocations: 0 / 1.044 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of Templates: time 0.03197/0.3359, allocations: 12.07 MB / 1.056 GB, free: 12.56 MB / 0.6823 GB