Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.0008763/0.0008763, allocations: 80.55 kB / 19.96 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.0009422/0.0009422, allocations: 173.6 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.9958/0.9958, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.907/1.907, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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.LMTDStar,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.785e-05, allocations: 10.16 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001897/0.001915, allocations: 1.541 MB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002916, allocations: 0.7836 MB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.002982, allocations: 3.938 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.003012, allocations: 3.938 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.003086, allocations: 19.8 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.003466, allocations: 99.56 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.003584, allocations: 59.72 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.003681, allocations: 15.94 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.003814, allocations: 43.89 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.003875, allocations: 23.92 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.003891, allocations: 0 / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.004017, allocations: 71.92 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.00403, allocations: 4 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.004053, allocations: 11.94 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.004243, allocations: 127.6 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004245, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004246, allocations: 3.938 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004249, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004017/0.004651, allocations: 309.9 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.00469, allocations: 17.33 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.00472, allocations: 30.75 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.004999, allocations: 36.89 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.00516, allocations: 137.6 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.005168, allocations: 4.375 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.005179, allocations: 4.375 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.005353, allocations: 78.19 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.005362, allocations: 4.188 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.005374, allocations: 4.125 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.005379, allocations: 0 / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.005525, allocations: 75.88 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.005868, allocations: 272 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.006019, allocations: 66.48 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.006095, allocations: 40.92 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.00611, allocations: 0 / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.006126, allocations: 34.56 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.006127, allocations: 0 / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003122/0.006439, allocations: 145.5 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.006468, allocations: 51.41 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.006546, allocations: 120.7 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.006557, allocations: 29.7 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.006595, allocations: 100.1 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.006615, allocations: 11.84 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.006651, allocations: 25.7 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.006726, allocations: 314.8 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.693e-05/0.006803, allocations: 31.92 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.006872, allocations: 35.97 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.007004, allocations: 73.03 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007006, allocations: 0 / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001727/0.007179, allocations: 109.5 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.007191, allocations: 10.66 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.007195, allocations: 0 / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.007206, allocations: 4 kB / 1.006 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.007287, allocations: 15.97 kB / 1.006 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.007293, allocations: 4 kB / 1.006 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.007329, allocations: 4 kB / 1.006 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.007339, allocations: 3.984 kB / 1.006 GB, free: 8.316 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 6.232e-05/0.007401, allocations: 116.5 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.00742, allocations: 11.89 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.007457, allocations: 12 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.00746, allocations: 0 / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.007464, allocations: 4 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.007469, allocations: 3.984 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.007597, allocations: 152.6 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.007597, allocations: 3.938 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.007643, allocations: 19.98 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.007645, allocations: 0 / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.007654, allocations: 3.984 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.007655, allocations: 4 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.007656, allocations: 4 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.007867, allocations: 203.4 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-06/0.007876, allocations: 3.953 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.007889, allocations: 0 / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.00794, allocations: 4 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.00798, allocations: 7.984 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.007985, allocations: 4 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.008026, allocations: 103.2 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008026, allocations: 0 / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001902/0.008216, allocations: 31.86 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0004832/0.0087, allocations: 0.7591 MB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.008893, allocations: 71.94 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008894, allocations: 0 / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/0.008968, allocations: 39.91 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.009172, allocations: 8 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.01052, allocations: 1.452 MB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.92e-05/0.01057, allocations: 83.52 kB / 1.009 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.25e-05/0.01062, allocations: 19.97 kB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.01067, allocations: 24.48 kB / 1.009 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.01067, allocations: 0 / 1.009 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07635/0.08702, allocations: 2.899 MB / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.424, allocations: 4.062 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.2214877596125]