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.0009811/0.0009811, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001445/0.001445, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9989/0.9989, allocations: 177.1 MB / 203.5 MB, free: 5.266 MB / 186.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.799/1.799, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 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 1.733e-06/1.733e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.918e-05, allocations: 2.281 kB / 1.001 GB, free: 13.53 MB / 0.9636 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.02427/0.02429, allocations: 38.24 MB / 1.038 GB, free: 7.148 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4853/0.5095, allocations: 10.35 MB / 1.048 GB, free: 43.54 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.5109, allocations: 69.84 kB / 1.048 GB, free: 43.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008934/0.5118, allocations: 435 kB / 1.049 GB, free: 43.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.5141, allocations: 1.249 MB / 1.05 GB, free: 43.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.5154, allocations: 0.7791 MB / 1.051 GB, free: 43.43 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.5174, allocations: 2.073 MB / 1.053 GB, free: 43.04 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005227/0.5179, allocations: 0.4981 MB / 1.053 GB, free: 42.99 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.5194, allocations: 1.245 MB / 1.054 GB, free: 42.84 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004416/0.5198, allocations: 0.4998 MB / 1.055 GB, free: 42.78 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.508e-05/0.5199, allocations: 60.78 kB / 1.055 GB, free: 42.78 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.5209, allocations: 0.5214 MB / 1.055 GB, free: 42.73 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.521, allocations: 193.7 kB / 1.056 GB, free: 42.69 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.5213, allocations: 273.4 kB / 1.056 GB, free: 42.66 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.5223, allocations: 1.272 MB / 1.057 GB, free: 42.54 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5223, allocations: 0 / 1.057 GB, free: 42.54 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.046e-06/0.5223, allocations: 0 / 1.057 GB, free: 42.54 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.5224, allocations: 3.938 kB / 1.057 GB, free: 42.53 MB / 0.9948 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.001095/0.5234, allocations: 0.9891 MB / 1.058 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.5235, allocations: 9.969 kB / 1.058 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.047e-05/0.5236, allocations: 92.8 kB / 1.058 GB, free: 41.95 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.5237, allocations: 87.55 kB / 1.058 GB, free: 41.9 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.5244, allocations: 0.625 MB / 1.059 GB, free: 41.69 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.5244, allocations: 36.41 kB / 1.059 GB, free: 41.69 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.5245, allocations: 54.3 kB / 1.059 GB, free: 41.69 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.5251, allocations: 0.6416 MB / 1.06 GB, free: 41.49 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.5251, allocations: 3.938 kB / 1.06 GB, free: 41.48 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.5251, allocations: 23.5 kB / 1.06 GB, free: 41.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.5251, allocations: 20.83 kB / 1.06 GB, free: 41.48 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.5256, allocations: 376.7 kB / 1.06 GB, free: 41.48 MB / 0.9948 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.001676/0.5272, allocations: 2.074 MB / 1.062 GB, free: 40.47 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.5276, allocations: 224.3 kB / 1.062 GB, free: 40.45 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.5277, allocations: 110 kB / 1.062 GB, free: 40.44 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008686/0.5286, allocations: 0.7539 MB / 1.063 GB, free: 40.17 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.5286, allocations: 36.94 kB / 1.063 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 1.904e-06/0.5286, allocations: 3.938 kB / 1.063 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0004674/0.5291, allocations: 323 kB / 1.063 GB, free: 40.05 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.5291, allocations: 54.25 kB / 1.063 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.5297, allocations: 0.6389 MB / 1.064 GB, free: 39.85 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.5297, allocations: 31.58 kB / 1.064 GB, free: 39.82 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.53, allocations: 356.5 kB / 1.064 GB, free: 39.65 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.5301, allocations: 80.73 kB / 1.064 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.5302, allocations: 76.61 kB / 1.065 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.5303, allocations: 376.7 kB / 1.065 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.5304, allocations: 86.42 kB / 1.065 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.5306, allocations: 344.9 kB / 1.065 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.5308, allocations: 339.3 kB / 1.066 GB, free: 38.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.5309, allocations: 2.75 kB / 1.066 GB, free: 38.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004251/0.5313, allocations: 407.7 kB / 1.066 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5313, allocations: 5.562 kB / 1.066 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5313, allocations: 8.734 kB / 1.066 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.5313, allocations: 12.66 kB / 1.066 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.5315, allocations: 76.75 kB / 1.066 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.5315, allocations: 7.938 kB / 1.066 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.5317, allocations: 55.16 kB / 1.066 GB, free: 38.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.5317, allocations: 24.44 kB / 1.066 GB, free: 38.7 MB / 0.9948 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.0001954/0.5319, allocations: 210.5 kB / 1.066 GB, free: 38.57 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.532, allocations: 67.64 kB / 1.066 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.5324, allocations: 331.8 kB / 1.067 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.5325, allocations: 7.219 kB / 1.067 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5325, allocations: 2.844 kB / 1.067 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002792/0.5327, allocations: 491.1 kB / 1.067 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009796/0.5337, allocations: 0.8801 MB / 1.068 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5337, allocations: 0 / 1.068 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.5339, allocations: 47.28 kB / 1.068 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5339, allocations: 3.094 kB / 1.068 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.5339, allocations: 12.28 kB / 1.068 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.5339, allocations: 9.938 kB / 1.068 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5339, allocations: 2.844 kB / 1.068 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.5345, allocations: 0.5434 MB / 1.069 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.5346, allocations: 100.7 kB / 1.069 GB, free: 37.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.5347, allocations: 19.28 kB / 1.069 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.5348, allocations: 8.531 kB / 1.069 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.5349, allocations: 15.36 kB / 1.069 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.5349, allocations: 17.56 kB / 1.069 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003907/0.5353, allocations: 463.1 kB / 1.069 GB, free: 37.47 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5353, allocations: 0 / 1.069 GB, free: 37.47 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000676/0.536, allocations: 221.1 kB / 1.07 GB, free: 37.42 MB / 0.9948 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.001001/0.537, allocations: 1.27 MB / 1.071 GB, free: 36.53 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000379/0.5374, allocations: 249.1 kB / 1.071 GB, free: 36.47 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5374, allocations: 2.531 kB / 1.071 GB, free: 36.47 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.5375, allocations: 113.2 kB / 1.071 GB, free: 36.44 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5385, allocations: 429 kB / 1.072 GB, free: 36.34 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.5426, allocations: 4.907 MB / 1.076 GB, free: 33.54 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.5428, allocations: 312.3 kB / 1.077 GB, free: 33.42 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000391/0.5431, allocations: 129.8 kB / 1.077 GB, free: 33.39 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.5433, allocations: 233.8 kB / 1.077 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of SimCode: time 1.483e-06/0.5433, allocations: 0 / 1.077 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/0.6445, allocations: 21.89 MB / 1.098 GB, free: 30.32 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.153/7.797, allocations: 5.703 kB / 1.098 GB, free: 30.32 MB / 0.9948 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.447614368982613]