Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001086/0.001086, 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.001004/0.001004, allocations: 214.8 kB / 23.02 MB, free: 2.973 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.9656/0.9656, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.199/2.199, 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.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009438/0.0009438, allocations: 63.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7169/0.7178, allocations: 180 MB / 1.352 GB, free: 1.672 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00298/0.7208, allocations: 2.182 MB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.7221, allocations: 0.8707 MB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.7222, allocations: 3.938 kB / 1.355 GB, free: 14.6 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.7228, allocations: 175.2 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.7229, allocations: 71.45 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.7233, allocations: 115.7 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.7235, allocations: 223 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.7237, allocations: 61.98 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.7238, allocations: 83.59 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.724, allocations: 99.34 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.724, allocations: 16 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.7242, allocations: 139.8 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.7244, allocations: 211.4 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.7245, allocations: 198.5 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.7252, allocations: 0.7294 MB / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7252, allocations: 0 / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7252, allocations: 0 / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.7252, allocations: 4 kB / 1.357 GB, free: 12.5 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001081/0.7263, allocations: 0.9265 MB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.7263, allocations: 8.922 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.56e-05/0.7264, allocations: 46.73 kB / 1.358 GB, free: 11.47 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.7267, allocations: 120.4 kB / 1.359 GB, free: 11.36 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.7273, allocations: 0.5378 MB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.7273, allocations: 8.375 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.7273, allocations: 16.31 kB / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.7276, allocations: 195.1 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7276, allocations: 7.938 kB / 1.359 GB, free: 10.56 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.7276, allocations: 7.938 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.7276, allocations: 4 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.7279, allocations: 224.6 kB / 1.36 GB, free: 10.33 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.7288, allocations: 0.8156 MB / 1.36 GB, free: 9.473 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.7293, allocations: 314.6 kB / 1.361 GB, free: 9.156 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.7294, allocations: 104.7 kB / 1.361 GB, free: 9.051 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/0.73, allocations: 167.8 kB / 1.361 GB, free: 8.887 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.73, allocations: 38.55 kB / 1.361 GB, free: 8.84 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 2.255e-06/0.73, allocations: 0 / 1.361 GB, free: 8.84 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0005999/0.7306, allocations: 405 kB / 1.361 GB, free: 8.438 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.7306, allocations: 51.41 kB / 1.361 GB, free: 8.375 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008438/0.7315, allocations: 0.9974 MB / 1.362 GB, free: 7.367 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.7315, allocations: 25.7 kB / 1.362 GB, free: 7.336 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.7317, allocations: 348.1 kB / 1.363 GB, free: 6.988 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.7317, allocations: 31.73 kB / 1.363 GB, free: 6.957 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.7318, allocations: 29.67 kB / 1.363 GB, free: 6.922 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.7318, allocations: 310 kB / 1.363 GB, free: 6.613 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.7319, allocations: 95.95 kB / 1.363 GB, free: 6.52 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.7321, allocations: 126.5 kB / 1.363 GB, free: 6.387 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.7323, allocations: 210.4 kB / 1.363 GB, free: 6.172 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7323, allocations: 4 kB / 1.363 GB, free: 6.168 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003259/0.7326, allocations: 333.2 kB / 1.364 GB, free: 5.836 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7326, allocations: 7.938 kB / 1.364 GB, free: 5.828 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7327, allocations: 0 / 1.364 GB, free: 5.828 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.7327, allocations: 4 kB / 1.364 GB, free: 5.824 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.7328, allocations: 24.05 kB / 1.364 GB, free: 5.801 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7328, allocations: 4 kB / 1.364 GB, free: 5.797 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.7328, allocations: 11.94 kB / 1.364 GB, free: 5.785 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.7329, allocations: 4 kB / 1.364 GB, free: 5.781 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0001939/0.7331, allocations: 254.2 kB / 1.364 GB, free: 5.523 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.7331, allocations: 79.42 kB / 1.364 GB, free: 5.445 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.7335, allocations: 332.4 kB / 1.364 GB, free: 5.109 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7335, allocations: 0 / 1.364 GB, free: 5.109 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7335, allocations: 8 kB / 1.364 GB, free: 5.102 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7335, allocations: 3.984 kB / 1.364 GB, free: 5.098 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.7339, allocations: 448.4 kB / 1.365 GB, free: 4.617 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7339, allocations: 4 kB / 1.365 GB, free: 4.613 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/0.7339, allocations: 23.97 kB / 1.365 GB, free: 4.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7339, allocations: 4 kB / 1.365 GB, free: 4.586 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.7339, allocations: 0 / 1.365 GB, free: 4.586 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7339, allocations: 4 kB / 1.365 GB, free: 4.582 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7339, allocations: 0 / 1.365 GB, free: 4.582 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.7343, allocations: 410.8 kB / 1.365 GB, free: 4.164 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.7344, allocations: 107.4 kB / 1.365 GB, free: 4.059 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.7344, allocations: 0 / 1.365 GB, free: 4.059 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.7345, allocations: 8 kB / 1.365 GB, free: 4.051 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.7346, allocations: 11.98 kB / 1.365 GB, free: 4.039 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.7346, allocations: 4.281 kB / 1.365 GB, free: 4.035 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0005888/0.7352, allocations: 0.7176 MB / 1.366 GB, free: 3.32 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7352, allocations: 0 / 1.366 GB, free: 3.32 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002757/0.7354, allocations: 75.83 kB / 1.366 GB, free: 3.246 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 (9): * Single equations (assignments): 9 * 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.0006352/0.7361, allocations: 0.9578 MB / 1.367 GB, free: 2.258 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.7364, allocations: 211.8 kB / 1.367 GB, free: 2.051 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7364, allocations: 0 / 1.367 GB, free: 2.051 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.7365, allocations: 108.1 kB / 1.367 GB, free: 1.945 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.7368, allocations: 47.31 kB / 1.368 GB, free: 1.902 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005833/0.7426, allocations: 6.378 MB / 1.374 GB, free: 11.43 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.7429, allocations: 350.4 kB / 1.374 GB, free: 11.07 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001546/0.7431, allocations: 77.31 kB / 1.374 GB, free: 10.99 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.7433, allocations: 215.4 kB / 1.374 GB, free: 10.78 MB / 1.057 GB Notification: Performance of SimCode: time 1.613e-06/0.7433, allocations: 0 / 1.374 GB, free: 10.78 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09044/0.8337, allocations: 12.56 MB / 1.387 GB, free: 14.39 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/8.061, allocations: 4.062 kB / 1.387 GB, free: 14.39 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_fmpy_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.35036775097251]