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.TwoWayValves.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01684/0.01685, allocations: 110.8 kB / 15.06 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00203/0.002029, allocations: 176 kB / 15.95 MB, free: 5.918 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.291/2.291, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.527/2.527, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006617/0.0006618, allocations: 15.94 kB / 0.587 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.7636, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.0334/0.7971, allocations: 22.08 MB / 0.705 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02293/0.8201, allocations: 9.285 MB / 0.7141 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.822, allocations: 32.19 kB / 0.7141 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.8259, allocations: 0.5368 MB / 0.7146 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.009656/0.8356, allocations: 1.189 MB / 0.7158 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.01903/0.8547, allocations: 2.586 MB / 0.7183 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.006694/0.8614, allocations: 1.587 MB / 0.7199 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00296/0.8644, allocations: 0.7645 MB / 0.7206 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00464/0.8692, allocations: 0.9286 MB / 0.7215 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004278/0.8735, allocations: 0.786 MB / 0.7223 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0008761/0.8744, allocations: 41.75 kB / 0.7223 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005217/0.8797, allocations: 0.8605 MB / 0.7232 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.8809, allocations: 202 kB / 0.7233 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.8821, allocations: 205.9 kB / 0.7235 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/0.8867, allocations: 1.11 MB / 0.7246 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.8868, allocations: 4 kB / 0.7246 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.298e-06/0.8868, allocations: 1.469 kB / 0.7246 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.618e-05/0.8869, allocations: 0 / 0.7246 GB, free: 3.148 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005738/0.8926, allocations: 1.158 MB / 0.7258 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/0.8927, allocations: 9.656 kB / 0.7258 GB, free: 2.223 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000387/0.8931, allocations: 90.67 kB / 0.7259 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008249/0.894, allocations: 113.2 kB / 0.726 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.8972, allocations: 0.6162 MB / 0.7266 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.8975, allocations: 55.47 kB / 0.7266 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005901/0.8981, allocations: 84.25 kB / 0.7267 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.9008, allocations: 0.5521 MB / 0.7272 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.9009, allocations: 1.625 kB / 0.7272 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.9011, allocations: 19.84 kB / 0.7273 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.9011, allocations: 12.44 kB / 0.7273 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.9036, allocations: 403.4 kB / 0.7277 GB, free: 0.918 MB / 0.5417 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.01103/0.9147, allocations: 2.486 MB / 0.7301 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.9165, allocations: 290.5 kB / 0.7304 GB, free: 14 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005701/0.9171, allocations: 340.9 kB / 0.7307 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.9172, allocations: 35.27 kB / 0.7307 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=27): time 4.559e-06/0.9172, allocations: 3.938 kB / 0.7307 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=27): time 0.003859/0.9211, allocations: 457.4 kB / 0.7312 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.9213, allocations: 55.41 kB / 0.7312 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.9237, allocations: 0.7589 MB / 0.732 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003804/0.9241, allocations: 49.7 kB / 0.732 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006316/0.9248, allocations: 433.4 kB / 0.7324 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.9249, allocations: 90.66 kB / 0.7325 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.925, allocations: 8 kB / 0.7325 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9251, allocations: 322 kB / 0.7328 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.9258, allocations: 153 kB / 0.733 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.9276, allocations: 0.7673 MB / 0.7337 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008975/0.9285, allocations: 249 kB / 0.734 GB, free: 10 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.9285, allocations: 0 / 0.734 GB, free: 10 MB / 0.5573 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002187/0.9307, allocations: 0.5419 MB / 0.7345 GB, free: 9.449 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004212/0.9312, allocations: 0.7979 MB / 0.7353 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.9312, allocations: 4 kB / 0.7353 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.9313, allocations: 7.953 kB / 0.7353 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/0.9336, allocations: 203.7 kB / 0.7355 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.9355, allocations: 2.364 MB / 0.7378 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006001/0.9416, allocations: 0.6945 MB / 0.7385 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.9418, allocations: 27.98 kB / 0.7385 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.9418, allocations: 4 kB / 0.7385 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/0.9434, allocations: 430.3 kB / 0.7389 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.9435, allocations: 4 kB / 0.7389 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.9435, allocations: 4 kB / 0.7389 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.9446, allocations: 139.8 kB / 0.739 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.9447, allocations: 7.953 kB / 0.739 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005764/0.9504, allocations: 0.6829 MB / 0.7397 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.9507, allocations: 23.98 kB / 0.7397 GB, free: 3.91 MB / 0.5573 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 (62): * Single equations (assignments): 58 * 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.0007727/0.9514, allocations: 289.5 kB / 0.74 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/0.9517, allocations: 86.95 kB / 0.7401 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.9533, allocations: 438.7 kB / 0.7405 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.9534, allocations: 4 kB / 0.7405 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.9534, allocations: 11.88 kB / 0.7405 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.9534, allocations: 0 / 0.7405 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.9564, allocations: 1.074 MB / 0.7416 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.9565, allocations: 0 / 0.7416 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008342/0.9573, allocations: 107.9 kB / 0.7417 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.9574, allocations: 4 kB / 0.7417 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.9574, allocations: 8 kB / 0.7417 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.9591, allocations: 2.348 MB / 0.744 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9591, allocations: 0 / 0.744 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.9607, allocations: 0.5231 MB / 0.7445 GB, free: 14.83 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.9613, allocations: 195.9 kB / 0.7447 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.9615, allocations: 8 kB / 0.7447 GB, free: 14.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009872/0.9625, allocations: 59.78 kB / 0.7447 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.9626, allocations: 28.11 kB / 0.7448 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.9627, allocations: 12 kB / 0.7448 GB, free: 14.51 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001052/0.9637, allocations: 0.5029 MB / 0.7453 GB, free: 14.01 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9638, allocations: 3.938 kB / 0.7453 GB, free: 14.01 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002377/0.9661, allocations: 455.3 kB / 0.7457 GB, free: 13.56 MB / 0.573 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * 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.003616/0.9698, allocations: 1.424 MB / 0.7471 GB, free: 12.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004997/0.9749, allocations: 0.6932 MB / 0.7478 GB, free: 11.41 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.9749, allocations: 4 kB / 0.7478 GB, free: 11.41 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.9763, allocations: 196.3 kB / 0.748 GB, free: 11.22 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005678/0.982, allocations: 417.4 kB / 0.7484 GB, free: 10.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007286/0.9893, allocations: 3.144 MB / 0.7514 GB, free: 7.574 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009537/0.9903, allocations: 0.9784 MB / 0.7524 GB, free: 6.57 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001973/0.9923, allocations: 166 kB / 0.7526 GB, free: 6.406 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000877/0.9932, allocations: 299.3 kB / 0.7528 GB, free: 6.113 MB / 0.573 GB Notification: Performance of SimCode: time 1.423e-06/0.9932, allocations: 0 / 0.7528 GB, free: 6.113 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1302/1.124, allocations: 26.56 MB / 0.7788 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003807/1.124, allocations: 264.1 kB / 0.779 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.91/5.034, allocations: 3.938 kB / 0.779 GB, free: 11.6 MB / 0.6042 GB