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.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.01138/0.01138, allocations: 107.8 kB / 15.06 MB, free: 5.551 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.002586/0.002586, allocations: 180.8 kB / 15.95 MB, free: 5.516 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.244/2.244, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.464/2.464, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007302/0.0007304, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.7915, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02799/0.8195, allocations: 16.33 MB / 0.6994 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.8359, allocations: 7.29 MB / 0.7065 GB, free: 416 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.8376, allocations: 21.5 kB / 0.7065 GB, free: 404 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.8396, allocations: 374.8 kB / 0.7069 GB, free: 92 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00425/0.8439, allocations: 0.7851 MB / 0.7076 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.01108/0.855, allocations: 2.129 MB / 0.7097 GB, free: 14 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002961/0.858, allocations: 0.9583 MB / 0.7107 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.8591, allocations: 412.6 kB / 0.7111 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.861, allocations: 0.5079 MB / 0.7115 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.8624, allocations: 401 kB / 0.7119 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.8627, allocations: 29 kB / 0.712 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.8652, allocations: 0.6295 MB / 0.7126 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.8656, allocations: 121.5 kB / 0.7127 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.866, allocations: 152.8 kB / 0.7128 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.8682, allocations: 0.7446 MB / 0.7136 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8683, allocations: 1.312 kB / 0.7136 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.276e-06/0.8683, allocations: 4 kB / 0.7136 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.8683, allocations: 0 / 0.7136 GB, free: 11.6 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003219/0.8715, allocations: 0.9802 MB / 0.7145 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.8716, allocations: 13.39 kB / 0.7145 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002693/0.8719, allocations: 89.98 kB / 0.7146 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/0.8722, allocations: 79.12 kB / 0.7147 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.8736, allocations: 475.8 kB / 0.7152 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.8738, allocations: 36.53 kB / 0.7152 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.8739, allocations: 47.31 kB / 0.7152 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.8758, allocations: 0.628 MB / 0.7158 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.8759, allocations: 1.312 kB / 0.7158 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-05/0.876, allocations: 18.41 kB / 0.7159 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.876, allocations: 12.25 kB / 0.7159 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.8781, allocations: 0.5079 MB / 0.7164 GB, free: 9.531 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.006307/0.8845, allocations: 3.174 MB / 0.7195 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.886, allocations: 349 kB / 0.7198 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000461/0.8865, allocations: 350.5 kB / 0.7201 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.8866, allocations: 42.3 kB / 0.7202 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=36): time 6.372e-06/0.8866, allocations: 3.984 kB / 0.7202 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.004068/0.8907, allocations: 0.8402 MB / 0.721 GB, free: 5.527 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.8908, allocations: 55.28 kB / 0.7211 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.8919, allocations: 0.5732 MB / 0.7216 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.8921, allocations: 35.89 kB / 0.7216 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.8925, allocations: 332.1 kB / 0.722 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.8927, allocations: 126.1 kB / 0.7221 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.8927, allocations: 14.44 kB / 0.7221 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.8929, allocations: 368.2 kB / 0.7225 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009095/0.8938, allocations: 215.9 kB / 0.7227 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.8949, allocations: 372.8 kB / 0.723 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.896, allocations: 254.7 kB / 0.7233 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.896, allocations: 2.281 kB / 0.7233 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00268/0.8987, allocations: 0.7261 MB / 0.724 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000781/0.8995, allocations: 1.746 MB / 0.7257 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.8996, allocations: 4.75 kB / 0.7257 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.9007, allocations: 146.1 kB / 0.7258 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.902, allocations: 150.5 kB / 0.726 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.9031, allocations: 0.6378 MB / 0.7266 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.9045, allocations: 106.8 kB / 0.7267 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.9047, allocations: 29.98 kB / 0.7267 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9048, allocations: 4.656 kB / 0.7267 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002457/0.9072, allocations: 0.6144 MB / 0.7273 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.9073, allocations: 4.906 kB / 0.7273 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.775e-05/0.9073, allocations: 8.953 kB / 0.7273 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.9086, allocations: 169.1 kB / 0.7275 GB, free: 484 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.9087, allocations: 11.98 kB / 0.7275 GB, free: 472 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.9099, allocations: 83.55 kB / 0.7276 GB, free: 388 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.9101, allocations: 31.98 kB / 0.7276 GB, free: 356 kB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005604/0.9106, allocations: 277.5 kB / 0.7279 GB, free: 68 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.9109, allocations: 59.25 kB / 0.7279 GB, free: 8 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.914, allocations: 0.6927 MB / 0.7286 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.914, allocations: 7.938 kB / 0.7286 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.9141, allocations: 3.953 kB / 0.7286 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.9141, allocations: 3.984 kB / 0.7286 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.9182, allocations: 1.293 MB / 0.7299 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.9183, allocations: 3.938 kB / 0.7299 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006927/0.919, allocations: 91.91 kB / 0.73 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007967/0.9198, allocations: 128.8 kB / 0.7301 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-05/0.9199, allocations: 11.98 kB / 0.7301 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.9209, allocations: 0.642 MB / 0.7307 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.921, allocations: 4.062 kB / 0.7307 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.9234, allocations: 0.6888 MB / 0.7314 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005638/0.924, allocations: 200 kB / 0.7316 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.9241, allocations: 12 kB / 0.7316 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/0.9251, allocations: 55.95 kB / 0.7317 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.9253, allocations: 35.89 kB / 0.7317 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-05/0.9253, allocations: 19.98 kB / 0.7317 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007342/0.9261, allocations: 391.1 kB / 0.7321 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.42e-07/0.9261, allocations: 0 / 0.7321 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001869/0.928, allocations: 383.4 kB / 0.7325 GB, free: 11.21 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003623/0.9316, allocations: 1.484 MB / 0.7339 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003726/0.9354, allocations: 0.9004 MB / 0.7348 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.9355, allocations: 3.938 kB / 0.7348 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.9368, allocations: 299.7 kB / 0.7351 GB, free: 8.508 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.9399, allocations: 266.6 kB / 0.7353 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.9459, allocations: 4.578 MB / 0.7398 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.9466, allocations: 0.9194 MB / 0.7407 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001157/0.9478, allocations: 150.6 kB / 0.7408 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/0.9484, allocations: 243.3 kB / 0.7411 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/0.9484, allocations: 0 / 0.7411 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0596/1.008, allocations: 17.59 MB / 0.7583 GB, free: 0.9297 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/1.008, allocations: 283.5 kB / 0.7585 GB, free: 0.5703 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/4.443, allocations: 3.938 kB / 0.7585 GB, free: 0.5664 MB / 0.573 GB