Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0007769/0.0007769, allocations: 104.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.000807/0.000807, allocations: 207.8 kB / 23.02 MB, free: 2.961 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 1.063/1.063, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.097/2.097, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009855/0.0009855, allocations: 69.55 kB / 1.177 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3392, allocations: 180 MB / 1.352 GB, free: 9.176 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1369/0.4761, allocations: 147.8 MB / 1.497 GB, free: 4.832 MB / 1.182 GB Notification: Performance of NFInst.instExpressions: time 0.00613/0.4822, allocations: 5.98 MB / 1.503 GB, free: 14.84 MB / 1.198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004533/0.4827, allocations: 15.88 kB / 1.503 GB, free: 14.82 MB / 1.198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.4832, allocations: 166.7 kB / 1.503 GB, free: 14.66 MB / 1.198 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.4851, allocations: 0.8324 MB / 1.504 GB, free: 13.82 MB / 1.198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009612/0.486, allocations: 345.9 kB / 1.504 GB, free: 13.48 MB / 1.198 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.4872, allocations: 0.7056 MB / 1.505 GB, free: 12.77 MB / 1.198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.4877, allocations: 203.2 kB / 1.505 GB, free: 12.57 MB / 1.198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.4894, allocations: 0.7123 MB / 1.506 GB, free: 11.86 MB / 1.198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.4899, allocations: 263 kB / 1.506 GB, free: 11.6 MB / 1.198 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.4899, allocations: 24 kB / 1.506 GB, free: 11.58 MB / 1.198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000657/0.4906, allocations: 291.3 kB / 1.506 GB, free: 11.29 MB / 1.198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.4907, allocations: 107.6 kB / 1.506 GB, free: 11.19 MB / 1.198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.4909, allocations: 135.3 kB / 1.506 GB, free: 11.05 MB / 1.198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.4916, allocations: 466.2 kB / 1.507 GB, free: 10.6 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4916, allocations: 0 / 1.507 GB, free: 10.6 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4916, allocations: 4 kB / 1.507 GB, free: 10.59 MB / 1.198 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.4916, allocations: 0 / 1.507 GB, free: 10.59 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008335/0.4924, allocations: 0.5399 MB / 1.507 GB, free: 10.02 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.4925, allocations: 12.92 kB / 1.507 GB, free: 10.01 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.4925, allocations: 62.55 kB / 1.507 GB, free: 9.941 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.4928, allocations: 63.67 kB / 1.507 GB, free: 9.879 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.4933, allocations: 263.6 kB / 1.508 GB, free: 9.598 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4933, allocations: 24.66 kB / 1.508 GB, free: 9.57 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.4934, allocations: 24 kB / 1.508 GB, free: 9.547 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.4938, allocations: 316.9 kB / 1.508 GB, free: 9.211 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4938, allocations: 0 / 1.508 GB, free: 9.211 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.4938, allocations: 12 kB / 1.508 GB, free: 9.199 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.4938, allocations: 8 kB / 1.508 GB, free: 9.191 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.4941, allocations: 209.4 kB / 1.508 GB, free: 8.984 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.4952, allocations: 1.187 MB / 1.509 GB, free: 7.734 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.4954, allocations: 118.4 kB / 1.51 GB, free: 7.609 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.4955, allocations: 84.75 kB / 1.51 GB, free: 7.523 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.4957, allocations: 75.91 kB / 1.51 GB, free: 7.449 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.4958, allocations: 34.56 kB / 1.51 GB, free: 7.406 MB / 1.198 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.4958, allocations: 0 / 1.51 GB, free: 7.406 MB / 1.198 GB Notification: Performance of matching and sorting (n=13): time 0.0005079/0.4963, allocations: 278.5 kB / 1.51 GB, free: 7.129 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.4963, allocations: 55.34 kB / 1.51 GB, free: 7.062 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.4965, allocations: 308.5 kB / 1.51 GB, free: 6.754 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4965, allocations: 29.7 kB / 1.51 GB, free: 6.719 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4966, allocations: 184.2 kB / 1.511 GB, free: 6.535 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.4967, allocations: 43.58 kB / 1.511 GB, free: 6.492 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.4967, allocations: 41.7 kB / 1.511 GB, free: 6.445 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.4968, allocations: 334.8 kB / 1.511 GB, free: 6.109 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.568e-05/0.4969, allocations: 59.95 kB / 1.511 GB, free: 6.051 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.497, allocations: 190.2 kB / 1.511 GB, free: 5.828 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.4972, allocations: 176.9 kB / 1.511 GB, free: 5.637 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4972, allocations: 4 kB / 1.511 GB, free: 5.633 MB / 1.198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002404/0.4975, allocations: 225.2 kB / 1.512 GB, free: 5.406 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.4975, allocations: 8 kB / 1.512 GB, free: 5.398 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4975, allocations: 0 / 1.512 GB, free: 5.398 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4975, allocations: 4 kB / 1.512 GB, free: 5.395 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.4976, allocations: 35.91 kB / 1.512 GB, free: 5.359 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4976, allocations: 4 kB / 1.512 GB, free: 5.355 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.4977, allocations: 23.83 kB / 1.512 GB, free: 5.332 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.4978, allocations: 16.16 kB / 1.512 GB, free: 5.316 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001123/0.4979, allocations: 150.2 kB / 1.512 GB, free: 5.16 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.4979, allocations: 27.86 kB / 1.512 GB, free: 5.133 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.4982, allocations: 209.1 kB / 1.512 GB, free: 4.922 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4982, allocations: 0 / 1.512 GB, free: 4.922 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4982, allocations: 0 / 1.512 GB, free: 4.922 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4982, allocations: 4 kB / 1.512 GB, free: 4.918 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.4988, allocations: 0.6358 MB / 1.513 GB, free: 4.211 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4988, allocations: 0 / 1.513 GB, free: 4.211 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.07e-05/0.4989, allocations: 31.98 kB / 1.513 GB, free: 4.18 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4989, allocations: 0 / 1.513 GB, free: 4.18 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.4989, allocations: 7.938 kB / 1.513 GB, free: 4.172 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4989, allocations: 4.219 kB / 1.513 GB, free: 4.168 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/0.4989, allocations: 7.938 kB / 1.513 GB, free: 4.16 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.4992, allocations: 337.3 kB / 1.513 GB, free: 3.793 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.4993, allocations: 47.73 kB / 1.513 GB, free: 3.746 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.4993, allocations: 3.938 kB / 1.513 GB, free: 3.742 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.4994, allocations: 11.98 kB / 1.513 GB, free: 3.73 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.4995, allocations: 11.98 kB / 1.513 GB, free: 3.719 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.4995, allocations: 7.938 kB / 1.513 GB, free: 3.711 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.0001427/0.4996, allocations: 231 kB / 1.513 GB, free: 3.488 MB / 1.198 GB Notification: Performance of sort global known variables: time 8e-08/0.4996, allocations: 0 / 1.513 GB, free: 3.488 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.000296/0.4999, allocations: 71.83 kB / 1.513 GB, free: 3.418 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0006182/0.5005, allocations: 0.9068 MB / 1.514 GB, free: 2.461 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.5008, allocations: 151.8 kB / 1.514 GB, free: 2.312 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5008, allocations: 4 kB / 1.514 GB, free: 2.309 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.5009, allocations: 76.45 kB / 1.514 GB, free: 2.234 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.5014, allocations: 143.1 kB / 1.515 GB, free: 2.098 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.5041, allocations: 2.809 MB / 1.517 GB, free: 15.14 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.5042, allocations: 171.8 kB / 1.518 GB, free: 14.95 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.5044, allocations: 58.94 kB / 1.518 GB, free: 14.89 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/0.5045, allocations: 95.41 kB / 1.518 GB, free: 14.8 MB / 1.214 GB Notification: Performance of SimCode: time 1.193e-06/0.5045, allocations: 0 / 1.518 GB, free: 14.8 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09731/0.6018, allocations: 8.979 MB / 1.526 GB, free: 6.082 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.704, allocations: 14.19 kB / 1.526 GB, free: 6.07 MB / 1.214 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ../Buildings_13_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.364338024519384]