Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01525/0.01525, allocations: 88.58 kB / 15.04 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001785/0.001785, allocations: 170.2 kB / 15.92 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.168/2.168, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.29/2.29, allocations: 252.8 MB / 0.511 GB, free: 8.379 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004602, allocations: 13.81 kB / 0.6243 GB, free: 28.22 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2686, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.03399/0.3026, allocations: 13.27 MB / 0.741 GB, free: 12.86 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02437/0.3271, allocations: 6.339 MB / 0.7472 GB, free: 6.516 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.3282, allocations: 19.81 kB / 0.7472 GB, free: 6.496 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002761/0.3311, allocations: 342.5 kB / 0.7476 GB, free: 6.16 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004566/0.3357, allocations: 0.6036 MB / 0.7482 GB, free: 5.555 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.3493, allocations: 1.83 MB / 0.7499 GB, free: 3.723 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002698/0.3521, allocations: 0.6287 MB / 0.7506 GB, free: 3.094 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.3532, allocations: 258.5 kB / 0.7508 GB, free: 2.836 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.3549, allocations: 338.8 kB / 0.7511 GB, free: 2.504 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009703/0.3559, allocations: 227 kB / 0.7513 GB, free: 2.281 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.3561, allocations: 19.98 kB / 0.7514 GB, free: 2.262 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.3583, allocations: 387.4 kB / 0.7517 GB, free: 1.883 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.3586, allocations: 75.67 kB / 0.7518 GB, free: 1.809 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.3589, allocations: 105.5 kB / 0.7519 GB, free: 1.699 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.3607, allocations: 478.9 kB / 0.7524 GB, free: 1.23 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3608, allocations: 0 / 0.7524 GB, free: 1.23 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.456e-06/0.3608, allocations: 0 / 0.7524 GB, free: 1.23 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.3609, allocations: 0 / 0.7524 GB, free: 1.23 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002435/0.3633, allocations: 0.7317 MB / 0.7531 GB, free: 460 kB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/0.3634, allocations: 16.02 kB / 0.7531 GB, free: 444 kB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.3636, allocations: 54.55 kB / 0.7531 GB, free: 380 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.3638, allocations: 51.39 kB / 0.7532 GB, free: 328 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.3652, allocations: 401 kB / 0.7536 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.3653, allocations: 24.44 kB / 0.7536 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.3654, allocations: 28 kB / 0.7536 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3665, allocations: 215.2 kB / 0.7538 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.3665, allocations: 0 / 0.7538 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.3666, allocations: 8 kB / 0.7538 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.3666, allocations: 8 kB / 0.7538 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009601/0.3676, allocations: 181.4 kB / 0.754 GB, free: 15.43 MB / 0.5886 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.003756/0.3714, allocations: 0.9419 MB / 0.7549 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.3722, allocations: 130.6 kB / 0.7551 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005726/0.3728, allocations: 336.4 kB / 0.7554 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.3729, allocations: 30.56 kB / 0.7554 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 3.867e-06/0.3729, allocations: 0 / 0.7554 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.001535/0.3744, allocations: 257 kB / 0.7557 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.3745, allocations: 55.66 kB / 0.7557 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.3759, allocations: 466 kB / 0.7561 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.376, allocations: 33.7 kB / 0.7562 GB, free: 13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008361/0.3769, allocations: 228.5 kB / 0.7564 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.3771, allocations: 51.36 kB / 0.7564 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.3772, allocations: 7.938 kB / 0.7565 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004637/0.3777, allocations: 358.8 kB / 0.7568 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006615/0.3784, allocations: 67.95 kB / 0.7569 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/0.3794, allocations: 155.6 kB / 0.757 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.3798, allocations: 79.91 kB / 0.7571 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3798, allocations: 0 / 0.7571 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009253/0.3808, allocations: 261 kB / 0.7573 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.3809, allocations: 275 kB / 0.7576 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.381, allocations: 96 / 0.7576 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.381, allocations: 3.984 kB / 0.7576 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.3814, allocations: 55.91 kB / 0.7577 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3815, allocations: 0 / 0.7577 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.3821, allocations: 47.72 kB / 0.7577 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.3822, allocations: 11.98 kB / 0.7577 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3822, allocations: 4 kB / 0.7577 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007382/0.383, allocations: 187 kB / 0.7579 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.383, allocations: 4 kB / 0.7579 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.383, allocations: 8 kB / 0.7579 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.3834, allocations: 47.91 kB / 0.758 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3834, allocations: 0 / 0.758 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/0.3841, allocations: 39.81 kB / 0.758 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.3841, allocations: 15.98 kB / 0.758 GB, free: 11.07 MB / 0.5886 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003194/0.3845, allocations: 245 kB / 0.7582 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3846, allocations: 43.44 kB / 0.7583 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009405/0.3855, allocations: 257.1 kB / 0.7585 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.3856, allocations: 4 kB / 0.7585 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3856, allocations: 0 / 0.7585 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3856, allocations: 0 / 0.7585 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.3873, allocations: 0.7122 MB / 0.7592 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3873, allocations: 3.938 kB / 0.7592 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.3876, allocations: 31.92 kB / 0.7593 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.3876, allocations: 4 kB / 0.7593 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.3876, allocations: 4 kB / 0.7593 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.3876, allocations: 8.109 kB / 0.7593 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.3876, allocations: 7.953 kB / 0.7593 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/0.3885, allocations: 397 kB / 0.7597 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.3888, allocations: 140.6 kB / 0.7598 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.3889, allocations: 4 kB / 0.7598 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.3893, allocations: 39.81 kB / 0.7598 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.3894, allocations: 11.98 kB / 0.7598 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.3894, allocations: 8.094 kB / 0.7599 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000593/0.39, allocations: 330.8 kB / 0.7602 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.31e-07/0.39, allocations: 0 / 0.7602 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001007/0.391, allocations: 203.6 kB / 0.7604 GB, free: 8.488 MB / 0.5886 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002947/0.394, allocations: 1.586 MB / 0.7619 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.3953, allocations: 275.7 kB / 0.7622 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3953, allocations: 0 / 0.7622 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.3957, allocations: 96.14 kB / 0.7623 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.3979, allocations: 214.1 kB / 0.7625 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.4007, allocations: 1.475 MB / 0.7639 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.4013, allocations: 0.8386 MB / 0.7647 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005681/0.4019, allocations: 95.38 kB / 0.7648 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.4022, allocations: 139.4 kB / 0.765 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of SimCode: time 1.112e-06/0.4022, allocations: 4 kB / 0.765 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/0.4472, allocations: 12.04 MB / 0.7767 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/0.4476, allocations: 239 kB / 0.7769 GB, free: 7.676 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/3.612, allocations: 3.938 kB / 0.7769 GB, free: 7.672 MB / 0.6042 GB