Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.267/2.267, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 181 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.586/2.586, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 88.75 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.0005281, allocations: 14.34 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03385/0.2535, allocations: 26.11 MB / 0.9244 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02136/0.2749, allocations: 12.24 MB / 0.9363 GB, free: 27.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.2765, allocations: 27.75 kB / 0.9364 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.2788, allocations: 0.5095 MB / 0.9369 GB, free: 26.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004751/0.2835, allocations: 1.104 MB / 0.9379 GB, free: 25.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008825/0.2924, allocations: 2.274 MB / 0.9402 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002699/0.2951, allocations: 1.23 MB / 0.9414 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.2962, allocations: 0.5308 MB / 0.9419 GB, free: 21.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.2984, allocations: 0.7631 MB / 0.9426 GB, free: 20.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009225/0.2993, allocations: 458 kB / 0.9431 GB, free: 20.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.2995, allocations: 32 kB / 0.9431 GB, free: 20.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3007, allocations: 387.4 kB / 0.9435 GB, free: 19.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.3009, allocations: 131.4 kB / 0.9436 GB, free: 19.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.3011, allocations: 177.3 kB / 0.9437 GB, free: 19.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3022, allocations: 0.6935 MB / 0.9444 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3022, allocations: 0 / 0.9444 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3022, allocations: 4 kB / 0.9444 GB, free: 18.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.3022, allocations: 4 kB / 0.9444 GB, free: 18.74 MB / 0.6042 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.002078/0.3043, allocations: 1 MB / 0.9454 GB, free: 17.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3044, allocations: 8.562 kB / 0.9454 GB, free: 17.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.3046, allocations: 94.88 kB / 0.9455 GB, free: 17.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3056, allocations: 0.5266 MB / 0.946 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.3057, allocations: 45 kB / 0.9461 GB, free: 16.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3058, allocations: 52 kB / 0.9461 GB, free: 16.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.3069, allocations: 410.4 kB / 0.9465 GB, free: 16.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.3069, allocations: 4 kB / 0.9465 GB, free: 16.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.307, allocations: 23.94 kB / 0.9465 GB, free: 16.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.307, allocations: 8 kB / 0.9465 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009102/0.3079, allocations: 307.8 kB / 0.9468 GB, free: 16.18 MB / 0.6042 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.00392/0.3118, allocations: 1.854 MB / 0.9486 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.3124, allocations: 172.3 kB / 0.9488 GB, free: 14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.3127, allocations: 344.5 kB / 0.9491 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.3127, allocations: 30.56 kB / 0.9492 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 3.016e-06/0.3127, allocations: 3.938 kB / 0.9492 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001104/0.3139, allocations: 317 kB / 0.9495 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3139, allocations: 51.41 kB / 0.9495 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009585/0.3149, allocations: 0.6647 MB / 0.9502 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.3149, allocations: 37.7 kB / 0.9502 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.3152, allocations: 367.9 kB / 0.9506 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.3153, allocations: 67.03 kB / 0.9506 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.3153, allocations: 4 kB / 0.9506 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3155, allocations: 386.7 kB / 0.951 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.3159, allocations: 99.95 kB / 0.9511 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.3163, allocations: 174 kB / 0.9513 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.3168, allocations: 126.2 kB / 0.9514 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3169, allocations: 0 / 0.9514 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001502/0.3184, allocations: 386.6 kB / 0.9517 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.3185, allocations: 286.8 kB / 0.952 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3185, allocations: 0 / 0.952 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.3186, allocations: 4 kB / 0.952 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/0.3209, allocations: 163.8 kB / 0.9522 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.3225, allocations: 2.356 MB / 0.9545 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.3239, allocations: 95.59 kB / 0.9546 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.968e-05/0.324, allocations: 16 kB / 0.9546 GB, free: 7.801 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.324, allocations: 4 kB / 0.9546 GB, free: 7.797 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/0.3252, allocations: 300.1 kB / 0.9549 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3253, allocations: 3.938 kB / 0.9549 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3253, allocations: 7.953 kB / 0.9549 GB, free: 7.492 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3263, allocations: 95.88 kB / 0.955 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3263, allocations: 4 kB / 0.955 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3276, allocations: 79.62 kB / 0.9551 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.3277, allocations: 19.98 kB / 0.9551 GB, free: 7.297 MB / 0.6042 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.0004936/0.3282, allocations: 259.5 kB / 0.9553 GB, free: 7.035 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.3284, allocations: 71.09 kB / 0.9554 GB, free: 6.965 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.3298, allocations: 323.3 kB / 0.9557 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.3298, allocations: 4 kB / 0.9557 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3298, allocations: 0 / 0.9557 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3299, allocations: 3.984 kB / 0.9557 GB, free: 6.637 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.3324, allocations: 0.8916 MB / 0.9566 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/0.3325, allocations: 4.125 kB / 0.9566 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/0.3333, allocations: 71.94 kB / 0.9567 GB, free: 5.602 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.3334, allocations: 0 / 0.9567 GB, free: 5.602 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.3334, allocations: 11.94 kB / 0.9567 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.3346, allocations: 2.356 MB / 0.959 GB, free: 3.141 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3346, allocations: 0 / 0.959 GB, free: 3.141 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3358, allocations: 461.5 kB / 0.9594 GB, free: 2.641 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.3362, allocations: 176 kB / 0.9596 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.3364, allocations: 7.984 kB / 0.9596 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009597/0.3374, allocations: 51.91 kB / 0.9596 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/0.3375, allocations: 15.98 kB / 0.9596 GB, free: 2.375 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.3375, allocations: 11.98 kB / 0.9597 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000999/0.3385, allocations: 463 kB / 0.9601 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/0.3386, allocations: 3.938 kB / 0.9601 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001667/0.3402, allocations: 347.1 kB / 0.9604 GB, free: 1.57 MB / 0.6042 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.000734/0.341, allocations: 251.2 kB / 0.9607 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003456/0.3445, allocations: 499.4 kB / 0.9611 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3445, allocations: 0 / 0.9611 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008889/0.3454, allocations: 143.8 kB / 0.9613 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004499/0.3499, allocations: 377.1 kB / 0.9616 GB, free: 344 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.3537, allocations: 1.324 MB / 0.9629 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008684/0.3547, allocations: 0.9375 MB / 0.9639 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001145/0.3558, allocations: 121.3 kB / 0.964 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.3561, allocations: 47.44 kB / 0.964 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.203e-06/0.3561, allocations: 0 / 0.964 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.04688/0.403, allocations: 12.05 MB / 0.9758 GB, free: 1.957 MB / 0.6198 GB