Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.293/4.293, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.319e-05, allocations: 5 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2281, allocations: 98.74 MB / 0.6289 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.516, allocations: 381.3 MB / 1.001 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004261/1.516, allocations: 93.42 kB / 1.001 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.327/2.843, allocations: 166.7 MB / 1.164 GB, free: 262.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.763e-06/2.843, allocations: 0 / 1.164 GB, free: 262.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.893e-05/2.843, allocations: 11.88 kB / 1.164 GB, free: 262.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001635/2.845, allocations: 0.7499 MB / 1.165 GB, free: 261.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/2.845, allocations: 8.031 kB / 1.165 GB, free: 261.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/2.845, allocations: 55.34 kB / 1.165 GB, free: 261.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/2.846, allocations: 419.2 kB / 1.165 GB, free: 261.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/2.846, allocations: 8 kB / 1.165 GB, free: 261.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/2.846, allocations: 16 kB / 1.165 GB, free: 261.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003608/2.847, allocations: 120.8 kB / 1.166 GB, free: 261.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/2.847, allocations: 162.4 kB / 1.166 GB, free: 260.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/2.847, allocations: 0 / 1.166 GB, free: 260.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/2.847, allocations: 3.984 kB / 1.166 GB, free: 260.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/2.847, allocations: 4 kB / 1.166 GB, free: 260.9 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.002358/2.85, allocations: 0.8683 MB / 1.167 GB, free: 260 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/2.85, allocations: 98.73 kB / 1.167 GB, free: 259.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/2.85, allocations: 40.98 kB / 1.167 GB, free: 259.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/2.85, allocations: 336.4 kB / 1.167 GB, free: 259.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/2.851, allocations: 34.56 kB / 1.167 GB, free: 259.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 4.028e-06/2.851, allocations: 0 / 1.167 GB, free: 259.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0006651/2.851, allocations: 153.2 kB / 1.167 GB, free: 259.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/2.851, allocations: 51.41 kB / 1.167 GB, free: 259.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/2.852, allocations: 357.2 kB / 1.168 GB, free: 258.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/2.852, allocations: 25.7 kB / 1.168 GB, free: 258.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/2.852, allocations: 232.1 kB / 1.168 GB, free: 258.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/2.852, allocations: 39.45 kB / 1.168 GB, free: 258.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/2.852, allocations: 0 / 1.168 GB, free: 258.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/2.852, allocations: 350.8 kB / 1.168 GB, free: 258.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/2.852, allocations: 40 kB / 1.168 GB, free: 258.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/2.853, allocations: 165.4 kB / 1.168 GB, free: 257.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/2.853, allocations: 64.91 kB / 1.168 GB, free: 257.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/2.853, allocations: 0 / 1.168 GB, free: 257.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006601/2.854, allocations: 207.2 kB / 1.169 GB, free: 257.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/2.854, allocations: 300.7 kB / 1.169 GB, free: 257.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/2.854, allocations: 4 kB / 1.169 GB, free: 257.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/2.854, allocations: 0 / 1.169 GB, free: 257.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/2.854, allocations: 47.91 kB / 1.169 GB, free: 257.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/2.854, allocations: 11.92 kB / 1.169 GB, free: 257.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/2.855, allocations: 43.75 kB / 1.169 GB, free: 257.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/2.855, allocations: 12.09 kB / 1.169 GB, free: 257.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/2.855, allocations: 4 kB / 1.169 GB, free: 257.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005353/2.856, allocations: 139.8 kB / 1.169 GB, free: 257.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/2.856, allocations: 0 / 1.169 GB, free: 257.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.702e-06/2.856, allocations: 4 kB / 1.169 GB, free: 257.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/2.856, allocations: 47.91 kB / 1.169 GB, free: 257 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/2.856, allocations: 4 kB / 1.169 GB, free: 257 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/2.857, allocations: 31.88 kB / 1.169 GB, free: 257 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/2.857, allocations: 23.94 kB / 1.169 GB, free: 257 MB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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.0001212/2.857, allocations: 112.9 kB / 1.169 GB, free: 256.9 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004331/2.857, allocations: 125.2 kB / 1.169 GB, free: 256.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/2.857, allocations: 39.53 kB / 1.17 GB, free: 256.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005812/2.858, allocations: 181 kB / 1.17 GB, free: 256.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/2.858, allocations: 3.938 kB / 1.17 GB, free: 256.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/2.858, allocations: 3.953 kB / 1.17 GB, free: 256.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/2.858, allocations: 7.938 kB / 1.17 GB, free: 256.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/2.859, allocations: 0.5626 MB / 1.17 GB, free: 255.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/2.859, allocations: 7.938 kB / 1.17 GB, free: 255.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/2.86, allocations: 27.98 kB / 1.17 GB, free: 255.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/2.86, allocations: 0 / 1.17 GB, free: 255.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/2.86, allocations: 7.953 kB / 1.17 GB, free: 255.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/2.86, allocations: 3.984 kB / 1.17 GB, free: 255.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/2.86, allocations: 4.062 kB / 1.17 GB, free: 255.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/2.86, allocations: 296 kB / 1.171 GB, free: 255.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/2.86, allocations: 136.5 kB / 1.171 GB, free: 255.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/2.86, allocations: 0 / 1.171 GB, free: 255.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/2.861, allocations: 27.97 kB / 1.171 GB, free: 255.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/2.861, allocations: 7.984 kB / 1.171 GB, free: 255.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/2.861, allocations: 4 kB / 1.171 GB, free: 255.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003927/2.861, allocations: 274.9 kB / 1.171 GB, free: 255.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.21e-07/2.861, allocations: 4 kB / 1.171 GB, free: 255.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001111/2.862, allocations: 219.6 kB / 1.171 GB, free: 254.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001835/2.864, allocations: 1.305 MB / 1.173 GB, free: 253.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007061/2.865, allocations: 317 kB / 1.173 GB, free: 253.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/2.865, allocations: 0 / 1.173 GB, free: 253.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/2.865, allocations: 55.92 kB / 1.173 GB, free: 253.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/2.867, allocations: 186 kB / 1.173 GB, free: 253 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/2.869, allocations: 0.5651 MB / 1.174 GB, free: 252.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/2.869, allocations: 0.8274 MB / 1.174 GB, free: 251.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006849/2.87, allocations: 99.56 kB / 1.175 GB, free: 251.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/2.87, allocations: 131.4 kB / 1.175 GB, free: 251.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.064e-06/2.87, allocations: 3.938 kB / 1.175 GB, free: 251.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06771/2.938, allocations: 11.78 MB / 1.186 GB, free: 239.6 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/2.938, allocations: 185.6 kB / 1.186 GB, free: 239.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/5.945, allocations: 0 / 1.186 GB, free: 239.4 MB / 0.823 GB