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.00112/0.00112, allocations: 108.3 kB / 19.72 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.001138/0.001138, allocations: 220.3 kB / 23.02 MB, free: 2.957 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.9483/0.9483, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.021/2.021, allocations: 0.5046 GB / 0.8104 GB, free: 2.691 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.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 0.001236/0.001236, allocations: 72.03 kB / 1.177 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7337/0.7349, allocations: 180 MB / 1.352 GB, free: 1.617 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002408/0.7373, allocations: 1.545 MB / 1.354 GB, free: 68 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.7383, allocations: 0.7674 MB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.7383, allocations: 0 / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.7384, allocations: 3.938 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.7384, allocations: 19.86 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.7388, allocations: 107.6 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.7389, allocations: 51.73 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.739, allocations: 11.92 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.7391, allocations: 31.92 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.7391, allocations: 27.84 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.7392, allocations: 4 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.7393, allocations: 67.95 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.7393, allocations: 15.97 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.7394, allocations: 19.88 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.7396, allocations: 105.9 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7396, allocations: 0 / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.514e-06/0.7396, allocations: 0 / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7396, allocations: 0 / 1.355 GB, free: 14.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003694/0.74, allocations: 307.6 kB / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.74, allocations: 16.86 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.7401, allocations: 30.75 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.7404, allocations: 48.83 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.7406, allocations: 134.5 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.7406, allocations: 384 / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.7406, allocations: 4.375 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.7408, allocations: 89.75 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.7408, allocations: 0 / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.7408, allocations: 0 / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.7408, allocations: 0 / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.741, allocations: 67.89 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.7414, allocations: 295.3 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.7415, allocations: 74.47 kB / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.7416, allocations: 40.92 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.7416, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.7417, allocations: 30.56 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.7417, allocations: 0 / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0003789/0.742, allocations: 145.5 kB / 1.356 GB, free: 13.44 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.7421, allocations: 51.41 kB / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.7421, allocations: 128 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.7422, allocations: 25.7 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.7422, allocations: 96.12 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.7422, allocations: 7.891 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.7422, allocations: 21.7 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.7423, allocations: 322.8 kB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.7424, allocations: 35.97 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.7425, allocations: 31.97 kB / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.7427, allocations: 68.75 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7427, allocations: 4 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002085/0.7429, allocations: 105.6 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7429, allocations: 8 kB / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.7429, allocations: 0 / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.7429, allocations: 0 / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.743, allocations: 11.98 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.743, allocations: 4 kB / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.743, allocations: 11.98 kB / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.743, allocations: 0 / 1.357 GB, free: 12.47 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 (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.517e-05/0.7431, allocations: 122.3 kB / 1.357 GB, free: 12.34 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.7431, allocations: 7.953 kB / 1.357 GB, free: 12.34 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.7432, allocations: 8 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.7432, allocations: 4.328 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7432, allocations: 0 / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7432, allocations: 0 / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.7433, allocations: 152.7 kB / 1.358 GB, free: 12.13 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7433, allocations: 7.984 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.7434, allocations: 23.91 kB / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7434, allocations: 0 / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7434, allocations: 7.938 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7434, allocations: 0 / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7434, allocations: 3.984 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.7437, allocations: 207.4 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.7437, allocations: 3.953 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.7437, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.7437, allocations: 7.984 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.7438, allocations: 7.984 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.7438, allocations: 4 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.7438, allocations: 95.89 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.7438, allocations: 0 / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002582/0.7441, allocations: 31.88 kB / 1.358 GB, free: 11.72 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 (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.0006424/0.7447, allocations: 0.7552 MB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.745, allocations: 75.92 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.745, allocations: 0 / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.7451, allocations: 51.84 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.7453, allocations: 3.938 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.7467, allocations: 1.459 MB / 1.36 GB, free: 9.27 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.519e-05/0.7467, allocations: 67.34 kB / 1.36 GB, free: 9.184 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.93e-05/0.7468, allocations: 12 kB / 1.36 GB, free: 9.172 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.7469, allocations: 27.41 kB / 1.36 GB, free: 9.145 MB / 1.042 GB Notification: Performance of SimCode: time 4.01e-07/0.7469, allocations: 0 / 1.36 GB, free: 9.145 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07647/0.8233, allocations: 2.763 MB / 1.363 GB, free: 6.52 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/7.58, allocations: 10.73 kB / 1.363 GB, free: 6.512 MB / 1.042 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.485600733198225]