Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.0009342/0.0009342, allocations: 100.3 kB / 19.72 MB, free: 428 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.0009108/0.0009108, allocations: 214.8 kB / 23.03 MB, free: 2.969 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.9415/0.9415, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.989/1.989, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 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.QStar,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 67.88 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.7177, allocations: 180 MB / 1.352 GB, free: 1.691 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002048/0.7197, allocations: 1.592 MB / 1.354 GB, free: 92 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0007591/0.7205, allocations: 0.604 MB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.7205, allocations: 0 / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.7206, allocations: 3.938 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.7207, allocations: 15.86 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.7209, allocations: 63.8 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.349e-05/0.721, allocations: 39.92 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.7211, allocations: 11.98 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.7212, allocations: 35.84 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.7213, allocations: 23.86 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.7213, allocations: 4 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.7214, allocations: 59.94 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.7214, allocations: 23.91 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.7215, allocations: 15.88 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.7216, allocations: 105.8 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7216, allocations: 0 / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7216, allocations: 0 / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7216, allocations: 0 / 1.355 GB, free: 15.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004193/0.722, allocations: 327.6 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.7221, allocations: 8.922 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.7221, allocations: 42.75 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004801/0.7226, allocations: 220.4 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.7228, allocations: 153 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.7228, allocations: 71.64 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.7228, allocations: 0 / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.7231, allocations: 169.5 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.7231, allocations: 7.938 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.7231, allocations: 4 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7231, allocations: 0 / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.7234, allocations: 231.8 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.7239, allocations: 490.5 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.7242, allocations: 242.3 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.7243, allocations: 120.8 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.7244, allocations: 3.984 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.7244, allocations: 34.56 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7244, allocations: 0 / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0005167/0.7249, allocations: 369.4 kB / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.7249, allocations: 59.34 kB / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.725, allocations: 162.2 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.725, allocations: 25.7 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.7251, allocations: 112 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.7251, allocations: 4 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.7251, allocations: 21.69 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.7252, allocations: 318.8 kB / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.7254, allocations: 115.9 kB / 1.358 GB, free: 11.65 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.7255, allocations: 111.9 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.7257, allocations: 200.7 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7257, allocations: 0 / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003213/0.7261, allocations: 257.4 kB / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.7261, allocations: 8 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7261, allocations: 32 / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7261, allocations: 4 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.7262, allocations: 47.84 kB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.7262, allocations: 3.938 kB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.7263, allocations: 35.94 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.7263, allocations: 7.984 kB / 1.359 GB, free: 10.98 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.751e-05/0.7264, allocations: 119.2 kB / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.7264, allocations: 11.89 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.7264, allocations: 11.95 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.7264, allocations: 4 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.7264, allocations: 3.938 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.7264, allocations: 0 / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.7266, allocations: 200.7 kB / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7266, allocations: 3.938 kB / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.7267, allocations: 51.91 kB / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7267, allocations: 0 / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.7267, allocations: 3.984 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7267, allocations: 4 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002726/0.727, allocations: 7.938 kB / 1.359 GB, free: 10.51 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.7273, allocations: 359.1 kB / 1.36 GB, free: 10.14 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.7273, allocations: 11.89 kB / 1.36 GB, free: 10.13 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.7273, allocations: 0 / 1.36 GB, free: 10.13 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.7274, allocations: 35.97 kB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.7275, allocations: 7.938 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.7275, allocations: 3.984 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.7275, allocations: 135 kB / 1.36 GB, free: 9.957 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.7275, allocations: 0 / 1.36 GB, free: 9.957 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000169/0.7277, allocations: 16 kB / 1.36 GB, free: 9.941 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005279/0.7282, allocations: 0.8724 MB / 1.361 GB, free: 9.043 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.7286, allocations: 239.7 kB / 1.361 GB, free: 8.809 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7286, allocations: 0 / 1.361 GB, free: 8.809 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.7287, allocations: 119.9 kB / 1.361 GB, free: 8.691 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.7289, allocations: 11.94 kB / 1.361 GB, free: 8.68 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.7309, allocations: 2.341 MB / 1.363 GB, free: 6.258 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.718e-05/0.7309, allocations: 75.61 kB / 1.363 GB, free: 6.16 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.353e-05/0.731, allocations: 23.98 kB / 1.363 GB, free: 6.137 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.731, allocations: 27.42 kB / 1.363 GB, free: 6.109 MB / 1.042 GB Notification: Performance of SimCode: time 4.81e-07/0.731, allocations: 0 / 1.363 GB, free: 6.109 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07982/0.8108, allocations: 3.259 MB / 1.367 GB, free: 2.992 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.804, allocations: 11.67 kB / 1.367 GB, free: 2.988 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../Buildings_13_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu) > Buildings_13_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.63436200749129]