Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Components.Validation.Tanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 210.8 kB / 23.02 MB, free: 2.965 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.041/1.041, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.878/1.878, allocations: 0.5046 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_13_Buildings_Templates_Components_Validation_Tanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Tanks,fileNamePrefix="Buildings_13_Buildings_Templates_Components_Validation_Tanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009693/0.0009693, allocations: 71.88 kB / 1.177 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7062, allocations: 180 MB / 1.352 GB, free: 1.723 MB / 1.026 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.02455/0.7307, allocations: 38.55 MB / 1.39 GB, free: 11.04 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.009231/0.74, allocations: 10.38 MB / 1.4 GB, free: 0.6328 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000779/0.7407, allocations: 67.44 kB / 1.4 GB, free: 0.5664 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007777/0.7415, allocations: 425.2 kB / 1.401 GB, free: 152 kB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.7432, allocations: 1.221 MB / 1.402 GB, free: 14.92 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009649/0.7442, allocations: 0.746 MB / 1.403 GB, free: 14.18 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.7455, allocations: 2.062 MB / 1.405 GB, free: 12.11 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.746, allocations: 0.4925 MB / 1.405 GB, free: 11.61 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.7472, allocations: 1.008 MB / 1.406 GB, free: 10.6 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.7476, allocations: 0.5522 MB / 1.407 GB, free: 10.04 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.7477, allocations: 64 kB / 1.407 GB, free: 9.98 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005892/0.7483, allocations: 0.5068 MB / 1.407 GB, free: 9.473 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.7484, allocations: 191.2 kB / 1.407 GB, free: 9.285 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.7486, allocations: 326.6 kB / 1.408 GB, free: 8.965 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.0009511/0.7495, allocations: 1.26 MB / 1.409 GB, free: 7.703 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.7495, allocations: 3.938 kB / 1.409 GB, free: 7.699 MB / 1.089 GB Notification: Performance of FrontEnd: time 4.288e-06/0.7496, allocations: 0 / 1.409 GB, free: 7.699 MB / 1.089 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.7496, allocations: 0 / 1.409 GB, free: 7.699 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001058/0.7506, allocations: 0.9985 MB / 1.41 GB, free: 6.668 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7507, allocations: 12.92 kB / 1.41 GB, free: 6.656 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.037e-05/0.7507, allocations: 90.7 kB / 1.41 GB, free: 6.559 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.7509, allocations: 92.41 kB / 1.41 GB, free: 6.469 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007203/0.7516, allocations: 0.6286 MB / 1.411 GB, free: 5.82 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.7516, allocations: 41.12 kB / 1.411 GB, free: 5.781 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.7517, allocations: 52 kB / 1.411 GB, free: 5.73 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.7522, allocations: 0.6378 MB / 1.411 GB, free: 5.035 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.7523, allocations: 0 / 1.411 GB, free: 5.035 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.7523, allocations: 23.94 kB / 1.411 GB, free: 5.012 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.7523, allocations: 12 kB / 1.411 GB, free: 5 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.7527, allocations: 383.7 kB / 1.412 GB, free: 4.629 MB / 1.089 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.001617/0.7543, allocations: 2.071 MB / 1.414 GB, free: 2.477 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.7547, allocations: 233.5 kB / 1.414 GB, free: 2.242 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.7548, allocations: 112.8 kB / 1.414 GB, free: 2.129 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008577/0.7557, allocations: 0.7573 MB / 1.415 GB, free: 1.352 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.7557, allocations: 34.56 kB / 1.415 GB, free: 1.309 MB / 1.089 GB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.7557, allocations: 0 / 1.415 GB, free: 1.309 MB / 1.089 GB Notification: Performance of matching and sorting (n=20): time 0.0004046/0.7561, allocations: 326.6 kB / 1.415 GB, free: 0.9844 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.7561, allocations: 55.34 kB / 1.415 GB, free: 0.918 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.7566, allocations: 0.6409 MB / 1.416 GB, free: 272 kB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.7566, allocations: 29.7 kB / 1.416 GB, free: 236 kB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.7568, allocations: 359.9 kB / 1.416 GB, free: 15.88 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.7569, allocations: 79.38 kB / 1.416 GB, free: 15.8 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.7569, allocations: 77.64 kB / 1.416 GB, free: 15.71 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.757, allocations: 370.8 kB / 1.417 GB, free: 15.34 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.7571, allocations: 83.95 kB / 1.417 GB, free: 15.26 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.7573, allocations: 348.3 kB / 1.417 GB, free: 14.83 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.7576, allocations: 344.2 kB / 1.418 GB, free: 14.43 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7576, allocations: 3.938 kB / 1.418 GB, free: 14.43 MB / 1.104 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003824/0.758, allocations: 405.1 kB / 1.418 GB, free: 14.03 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.758, allocations: 8 kB / 1.418 GB, free: 14.02 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.758, allocations: 7.938 kB / 1.418 GB, free: 14.01 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.758, allocations: 8 kB / 1.418 GB, free: 14 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.7582, allocations: 75.83 kB / 1.418 GB, free: 13.93 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.7582, allocations: 12 kB / 1.418 GB, free: 13.92 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.7583, allocations: 55.56 kB / 1.418 GB, free: 13.86 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.7584, allocations: 19.98 kB / 1.418 GB, free: 13.84 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.7585, allocations: 214.4 kB / 1.418 GB, free: 13.62 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.7586, allocations: 71.52 kB / 1.418 GB, free: 13.55 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.759, allocations: 334.1 kB / 1.419 GB, free: 13.22 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.759, allocations: 4 kB / 1.419 GB, free: 13.22 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.759, allocations: 0 / 1.419 GB, free: 13.22 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003229/0.7593, allocations: 498.5 kB / 1.419 GB, free: 12.66 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/0.7601, allocations: 0.8776 MB / 1.42 GB, free: 11.73 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7601, allocations: 3.938 kB / 1.42 GB, free: 11.72 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.7602, allocations: 48.03 kB / 1.42 GB, free: 11.68 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.7602, allocations: 0 / 1.42 GB, free: 11.68 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.7602, allocations: 8 kB / 1.42 GB, free: 11.67 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.7602, allocations: 4 kB / 1.42 GB, free: 11.66 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7602, allocations: 0 / 1.42 GB, free: 11.66 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.7606, allocations: 0.554 MB / 1.421 GB, free: 11.08 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.7608, allocations: 99.48 kB / 1.421 GB, free: 10.98 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.7608, allocations: 8 kB / 1.421 GB, free: 10.98 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.7609, allocations: 8 kB / 1.421 GB, free: 10.97 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.761, allocations: 15.97 kB / 1.421 GB, free: 10.95 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.761, allocations: 20.05 kB / 1.421 GB, free: 10.93 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.000347/0.7613, allocations: 463 kB / 1.421 GB, free: 10.48 MB / 1.104 GB Notification: Performance of sort global known variables: time 7e-08/0.7613, allocations: 0 / 1.421 GB, free: 10.48 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0003948/0.7617, allocations: 215.5 kB / 1.421 GB, free: 10.27 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008337/0.7626, allocations: 1.267 MB / 1.423 GB, free: 8.965 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.7628, allocations: 252.7 kB / 1.423 GB, free: 8.719 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7628, allocations: 4.062 kB / 1.423 GB, free: 8.715 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.763, allocations: 117.4 kB / 1.423 GB, free: 8.602 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009347/0.7639, allocations: 428.2 kB / 1.423 GB, free: 8.203 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.7678, allocations: 4.951 MB / 1.428 GB, free: 3.023 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.768, allocations: 304.2 kB / 1.429 GB, free: 2.699 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0002496/0.7682, allocations: 129.5 kB / 1.429 GB, free: 2.57 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.7684, allocations: 235.3 kB / 1.429 GB, free: 2.34 MB / 1.104 GB Notification: Performance of SimCode: time 4.41e-07/0.7684, allocations: 0 / 1.429 GB, free: 2.34 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08711/0.8555, allocations: 21.81 MB / 1.45 GB, free: 13.01 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.238/8.094, allocations: 13.88 kB / 1.45 GB, free: 13 MB / 1.135 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_13_Buildings.Templates.Components.Validation.Tanks.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Templates_Components_Validation_Tanks_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Templates_Components_Validation_Tanks.fmu) > Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Templates.Components.Validation.Tanks_fmpy.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Validation.Tanks_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Validation.Tanks_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Components.Validation.Tanks_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Templates.Components.Validation.Tanks_fmpy_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 ../Buildings_13_Buildings_Templates_Components_Validation_Tanks.fmu) > Buildings_13_Buildings.Templates.Components.Validation.Tanks_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.848558040335774]