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.00104/0.00104, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.001646/0.001646, allocations: 177.2 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.9705/0.9705, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.954/1.954, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.933e-06/1.933e-06, allocations: 0 / 1.001 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.081e-05, allocations: 2.281 kB / 1.001 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003421/0.003441, allocations: 2.186 MB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.004911, allocations: 0.8665 MB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.005054, allocations: 4 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005917/0.005645, allocations: 179.1 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.005801, allocations: 71.44 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.00623, allocations: 111.7 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.006534, allocations: 238.9 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.006714, allocations: 61.98 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.006892, allocations: 127.6 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.007003, allocations: 67.75 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.007041, allocations: 20 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.007337, allocations: 131.8 kB / 1.005 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.007526, allocations: 219.3 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.007668, allocations: 131.5 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007671/0.008435, allocations: 0.7083 MB / 1.006 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.008439, allocations: 0 / 1.006 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.253e-06/0.008441, allocations: 4 kB / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.008453, allocations: 0 / 1.006 GB, free: 8.352 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001341/0.009794, allocations: 0.9187 MB / 1.007 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.00984, allocations: 9.344 kB / 1.007 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.0099, allocations: 46.73 kB / 1.007 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004936/0.01039, allocations: 124.3 kB / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/0.01118, allocations: 0.5371 MB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.0112, allocations: 8.375 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.01122, allocations: 12.38 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.01159, allocations: 194.1 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.0116, allocations: 192 / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.01162, allocations: 8.375 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.01162, allocations: 8.125 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.01203, allocations: 227.8 kB / 1.008 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.01323, allocations: 0.8233 MB / 1.008 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.01384, allocations: 306.6 kB / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.01402, allocations: 108.8 kB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/0.01461, allocations: 163.9 kB / 1.009 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.01464, allocations: 30.56 kB / 1.009 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.963e-06/0.01464, allocations: 3.938 kB / 1.009 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0007421/0.01538, allocations: 416.8 kB / 1.009 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.01541, allocations: 55.41 kB / 1.01 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.01668, allocations: 0.9935 MB / 1.01 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.0167, allocations: 29.7 kB / 1.011 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.017, allocations: 348.1 kB / 1.011 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.01703, allocations: 27.7 kB / 1.011 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.01708, allocations: 25.7 kB / 1.011 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.01718, allocations: 314 kB / 1.011 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.01736, allocations: 103.9 kB / 1.011 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.01755, allocations: 114.5 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.01793, allocations: 226.4 kB / 1.012 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.01793, allocations: 4 kB / 1.012 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005623/0.0185, allocations: 317 kB / 1.012 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.01852, allocations: 15.92 kB / 1.012 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01853, allocations: 0 / 1.012 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01854, allocations: 4.062 kB / 1.012 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.01883, allocations: 23.98 kB / 1.012 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.01884, allocations: 0 / 1.012 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.01897, allocations: 16.45 kB / 1.012 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.01898, allocations: 4 kB / 1.012 GB, free: 1.629 MB / 0.9636 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.0002/0.01918, allocations: 245.7 kB / 1.012 GB, free: 1.379 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.01924, allocations: 79.47 kB / 1.012 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.01967, allocations: 336.4 kB / 1.013 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01968, allocations: 0 / 1.013 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.01968, allocations: 3.938 kB / 1.013 GB, free: 0.9531 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01969, allocations: 0 / 1.013 GB, free: 0.9531 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.02006, allocations: 464.4 kB / 1.013 GB, free: 468 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.02006, allocations: 0 / 1.013 GB, free: 468 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.02013, allocations: 19.98 kB / 1.013 GB, free: 448 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.02013, allocations: 0 / 1.013 GB, free: 448 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.02015, allocations: 11.92 kB / 1.013 GB, free: 436 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.02015, allocations: 4 kB / 1.013 GB, free: 432 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02015, allocations: 0 / 1.013 GB, free: 432 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.02051, allocations: 406.9 kB / 1.013 GB, free: 8 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.02066, allocations: 99.5 kB / 1.014 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.02069, allocations: 3.938 kB / 1.014 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.02078, allocations: 15.98 kB / 1.014 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.02082, allocations: 7.984 kB / 1.014 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.02082, allocations: 0 / 1.014 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005649/0.02139, allocations: 0.7215 MB / 1.014 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02139, allocations: 0 / 1.014 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002496/0.02164, allocations: 67.89 kB / 1.014 GB, free: 15.1 MB / 0.9792 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.0006212/0.02226, allocations: 0.9578 MB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.02256, allocations: 220 kB / 1.016 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02257, allocations: 0 / 1.016 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.02268, allocations: 108.1 kB / 1.016 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.023, allocations: 53.66 kB / 1.016 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/0.02884, allocations: 6.404 MB / 1.022 GB, free: 7.246 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.02907, allocations: 349.4 kB / 1.022 GB, free: 6.883 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.0292, allocations: 81.31 kB / 1.022 GB, free: 6.797 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.02939, allocations: 224.4 kB / 1.023 GB, free: 6.578 MB / 0.9792 GB Notification: Performance of SimCode: time 1.102e-06/0.02939, allocations: 0 / 1.023 GB, free: 6.578 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0844/0.1138, allocations: 12.67 MB / 1.035 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.199, allocations: 11.66 kB / 1.035 GB, free: 10.08 MB / 0.9948 GB " [Timeout remaining time 293] (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: 12.313240930438042]