Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.0008824/0.0008824, allocations: 108.3 kB / 19.73 MB, free: 420 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.001031/0.001031, allocations: 212.6 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 0.973/0.973, allocations: 230.6 MB / 256.8 MB, free: 9.594 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 2.025/2.025, allocations: 0.5046 GB / 0.8104 GB, free: 2.758 MB / 0.6511 GB " [Timeout remaining time 177] 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.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009757/0.0009757, allocations: 71.89 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6854, allocations: 180 MB / 1.352 GB, free: 1.66 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00246/0.6879, allocations: 1.953 MB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.6888, allocations: 0.7014 MB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.6889, allocations: 7.938 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.689, allocations: 19.78 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.6891, allocations: 23.73 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.6894, allocations: 95.83 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.6896, allocations: 151.5 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.6897, allocations: 67.19 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.6898, allocations: 71.64 kB / 1.355 GB, free: 14.56 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.6899, allocations: 67.62 kB / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.6899, allocations: 16 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.69, allocations: 59.95 kB / 1.356 GB, free: 14.42 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.6901, allocations: 71.8 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.6902, allocations: 75.47 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.6907, allocations: 270.8 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6907, allocations: 4 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6907, allocations: 0 / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.6907, allocations: 3.938 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005955/0.6913, allocations: 477 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6913, allocations: 12.92 kB / 1.356 GB, free: 13.49 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.6914, allocations: 50.67 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/0.6922, allocations: 436 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.6925, allocations: 257.7 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.6926, allocations: 119.6 kB / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.6926, allocations: 16.31 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.6931, allocations: 388 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.6931, allocations: 0 / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.6931, allocations: 4 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.6931, allocations: 4 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006273/0.6938, allocations: 0.5392 MB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.6948, allocations: 0.9189 MB / 1.359 GB, free: 10.68 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.6952, allocations: 286.3 kB / 1.359 GB, free: 10.39 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.6955, allocations: 276.6 kB / 1.36 GB, free: 10.12 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.6955, allocations: 4 kB / 1.36 GB, free: 10.12 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.6955, allocations: 30.56 kB / 1.36 GB, free: 10.08 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.6955, allocations: 0 / 1.36 GB, free: 10.08 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.001022/0.6965, allocations: 0.7859 MB / 1.36 GB, free: 9.285 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.6965, allocations: 51.41 kB / 1.361 GB, free: 9.223 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.6968, allocations: 305.9 kB / 1.361 GB, free: 8.91 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.6968, allocations: 25.7 kB / 1.361 GB, free: 8.879 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.6969, allocations: 160.3 kB / 1.361 GB, free: 8.719 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.6969, allocations: 19.84 kB / 1.361 GB, free: 8.699 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.6969, allocations: 37.69 kB / 1.361 GB, free: 8.656 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.697, allocations: 334.8 kB / 1.361 GB, free: 8.32 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.6973, allocations: 259.8 kB / 1.362 GB, free: 8.066 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.6976, allocations: 263.7 kB / 1.362 GB, free: 7.809 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.6981, allocations: 436.9 kB / 1.362 GB, free: 7.379 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6981, allocations: 0 / 1.362 GB, free: 7.379 MB / 1.042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006276/0.6987, allocations: 0.5439 MB / 1.363 GB, free: 6.828 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6987, allocations: 4 kB / 1.363 GB, free: 6.824 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.6987, allocations: 0 / 1.363 GB, free: 6.824 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6988, allocations: 3.984 kB / 1.363 GB, free: 6.82 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.699, allocations: 87.84 kB / 1.363 GB, free: 6.734 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.699, allocations: 7.984 kB / 1.363 GB, free: 6.727 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.6993, allocations: 71.81 kB / 1.363 GB, free: 6.656 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.6994, allocations: 7.984 kB / 1.363 GB, free: 6.648 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001042/0.6995, allocations: 149.8 kB / 1.363 GB, free: 6.492 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.6995, allocations: 19.86 kB / 1.363 GB, free: 6.473 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.6995, allocations: 25.7 kB / 1.363 GB, free: 6.445 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.6995, allocations: 0 / 1.363 GB, free: 6.445 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6995, allocations: 3.938 kB / 1.363 GB, free: 6.441 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.6995, allocations: 4 kB / 1.363 GB, free: 6.438 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.6998, allocations: 383.4 kB / 1.364 GB, free: 6.023 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6998, allocations: 0 / 1.364 GB, free: 6.023 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.7, allocations: 95.77 kB / 1.364 GB, free: 5.93 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7, allocations: 0 / 1.364 GB, free: 5.93 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.7, allocations: 11.98 kB / 1.364 GB, free: 5.918 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.7, allocations: 0 / 1.364 GB, free: 5.918 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7, allocations: 0 / 1.364 GB, free: 5.918 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.7006, allocations: 0.6239 MB / 1.364 GB, free: 5.277 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.7007, allocations: 27.84 kB / 1.364 GB, free: 5.25 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.7007, allocations: 4 kB / 1.364 GB, free: 5.246 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.7008, allocations: 71.86 kB / 1.364 GB, free: 5.176 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.7009, allocations: 15.92 kB / 1.364 GB, free: 5.16 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.7009, allocations: 7.984 kB / 1.364 GB, free: 5.152 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001396/0.701, allocations: 213.2 kB / 1.365 GB, free: 4.941 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.701, allocations: 0 / 1.365 GB, free: 4.941 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000197/0.7012, allocations: 43.92 kB / 1.365 GB, free: 4.898 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0008715/0.7021, allocations: 1.177 MB / 1.366 GB, free: 3.695 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006505/0.7027, allocations: 0.5229 MB / 1.366 GB, free: 3.172 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.7027, allocations: 0 / 1.366 GB, free: 3.172 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.703, allocations: 275.7 kB / 1.367 GB, free: 2.902 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.7032, allocations: 15.12 kB / 1.367 GB, free: 2.891 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.7069, allocations: 3.912 MB / 1.37 GB, free: 14.9 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.851e-05/0.707, allocations: 144.6 kB / 1.371 GB, free: 14.74 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.7071, allocations: 53.42 kB / 1.371 GB, free: 14.69 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.7072, allocations: 91.38 kB / 1.371 GB, free: 14.6 MB / 1.057 GB Notification: Performance of SimCode: time 6.31e-07/0.7072, allocations: 0 / 1.371 GB, free: 14.6 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0772/0.7844, allocations: 5.79 MB / 1.376 GB, free: 8.969 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.824, allocations: 11.19 kB / 1.376 GB, free: 8.965 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 ../Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.737319698557258]