Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.0008207/0.0008207, 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.000815/0.000815, allocations: 215.3 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 1.004/1.004, allocations: 230.6 MB / 256.8 MB, free: 9.559 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.973/1.973, allocations: 0.5045 GB / 0.8104 GB, free: 2.723 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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 71.86 kB / 1.177 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7495/0.7507, allocations: 180 MB / 1.352 GB, free: 1.574 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1349/0.8856, allocations: 158.5 MB / 1.507 GB, free: 2.477 MB / 1.182 GB Notification: Performance of NFInst.instExpressions: time 0.006047/0.8916, allocations: 7.192 MB / 1.514 GB, free: 11.26 MB / 1.198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005354/0.8922, allocations: 27.75 kB / 1.514 GB, free: 11.23 MB / 1.198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.8928, allocations: 246.2 kB / 1.515 GB, free: 10.99 MB / 1.198 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.8953, allocations: 1.217 MB / 1.516 GB, free: 9.77 MB / 1.198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.8968, allocations: 0.753 MB / 1.516 GB, free: 9.02 MB / 1.198 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.8981, allocations: 1.06 MB / 1.518 GB, free: 7.953 MB / 1.198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.8985, allocations: 305.5 kB / 1.518 GB, free: 7.648 MB / 1.198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.9009, allocations: 1.012 MB / 1.519 GB, free: 6.645 MB / 1.198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006181/0.9015, allocations: 418.5 kB / 1.519 GB, free: 6.234 MB / 1.198 GB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.9015, allocations: 36 kB / 1.519 GB, free: 6.199 MB / 1.198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.9028, allocations: 0.7831 MB / 1.52 GB, free: 5.414 MB / 1.198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.9029, allocations: 163.5 kB / 1.52 GB, free: 5.254 MB / 1.198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.9031, allocations: 207 kB / 1.52 GB, free: 5.051 MB / 1.198 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.9043, allocations: 0.9071 MB / 1.521 GB, free: 4.141 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.9043, allocations: 0 / 1.521 GB, free: 4.141 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9043, allocations: 0 / 1.521 GB, free: 4.141 MB / 1.198 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.9043, allocations: 0 / 1.521 GB, free: 4.141 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008649/0.9052, allocations: 0.7381 MB / 1.522 GB, free: 3.371 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.9052, allocations: 8.922 kB / 1.522 GB, free: 3.363 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/0.9053, allocations: 82.45 kB / 1.522 GB, free: 3.273 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.9058, allocations: 151.5 kB / 1.522 GB, free: 3.125 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.9063, allocations: 336.4 kB / 1.522 GB, free: 2.77 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.9063, allocations: 29 kB / 1.523 GB, free: 2.738 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.9064, allocations: 36 kB / 1.523 GB, free: 2.703 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.9069, allocations: 454.3 kB / 1.523 GB, free: 2.234 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9069, allocations: 0 / 1.523 GB, free: 2.234 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.9069, allocations: 19.94 kB / 1.523 GB, free: 2.215 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.9069, allocations: 12 kB / 1.523 GB, free: 2.203 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.9073, allocations: 319.7 kB / 1.523 GB, free: 1.891 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.9086, allocations: 1.504 MB / 1.525 GB, free: 328 kB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.9089, allocations: 226.4 kB / 1.525 GB, free: 92 kB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.909, allocations: 137.2 kB / 1.525 GB, free: 15.95 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/0.9093, allocations: 83.77 kB / 1.525 GB, free: 15.87 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.9094, allocations: 34.56 kB / 1.525 GB, free: 15.82 MB / 1.214 GB Notification: Performance of pre-optimization done (n=24): time 2.495e-06/0.9094, allocations: 0 / 1.525 GB, free: 15.82 MB / 1.214 GB Notification: Performance of matching and sorting (n=24): time 0.0006456/0.91, allocations: 460.2 kB / 1.526 GB, free: 15.37 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.91, allocations: 55.41 kB / 1.526 GB, free: 15.3 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.9104, allocations: 389.7 kB / 1.526 GB, free: 14.92 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.9104, allocations: 33.7 kB / 1.526 GB, free: 14.88 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.9105, allocations: 224.6 kB / 1.526 GB, free: 14.66 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.9105, allocations: 91.22 kB / 1.526 GB, free: 14.57 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.9106, allocations: 53.7 kB / 1.527 GB, free: 14.51 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9107, allocations: 354.7 kB / 1.527 GB, free: 14.15 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.9109, allocations: 115.9 kB / 1.527 GB, free: 14.04 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.9111, allocations: 256.4 kB / 1.527 GB, free: 13.75 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.9114, allocations: 310.6 kB / 1.527 GB, free: 13.42 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9114, allocations: 0 / 1.527 GB, free: 13.42 MB / 1.214 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003797/0.9118, allocations: 374.6 kB / 1.528 GB, free: 13.05 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.9118, allocations: 6.031 kB / 1.528 GB, free: 13.04 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9118, allocations: 4 kB / 1.528 GB, free: 13.04 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.9118, allocations: 4 kB / 1.528 GB, free: 13.04 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.912, allocations: 55.91 kB / 1.528 GB, free: 12.98 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.912, allocations: 4 kB / 1.528 GB, free: 12.98 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.9121, allocations: 39.72 kB / 1.528 GB, free: 12.94 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.9121, allocations: 12.23 kB / 1.528 GB, free: 12.93 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001309/0.9123, allocations: 173.6 kB / 1.528 GB, free: 12.75 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.9123, allocations: 47.73 kB / 1.528 GB, free: 12.7 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.9127, allocations: 367.7 kB / 1.529 GB, free: 12.33 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.9127, allocations: 0 / 1.529 GB, free: 12.33 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.9127, allocations: 0 / 1.529 GB, free: 12.33 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.9127, allocations: 3.984 kB / 1.529 GB, free: 12.33 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/0.9136, allocations: 0.8776 MB / 1.529 GB, free: 11.38 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.9136, allocations: 7.938 kB / 1.529 GB, free: 11.38 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.9137, allocations: 43.92 kB / 1.529 GB, free: 11.33 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.9138, allocations: 7.938 kB / 1.529 GB, free: 11.32 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.9138, allocations: 11.98 kB / 1.529 GB, free: 11.31 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.9138, allocations: 7.984 kB / 1.529 GB, free: 11.3 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9138, allocations: 4.219 kB / 1.529 GB, free: 11.3 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.9144, allocations: 0.6257 MB / 1.53 GB, free: 10.64 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.9145, allocations: 79.56 kB / 1.53 GB, free: 10.56 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.9146, allocations: 8 kB / 1.53 GB, free: 10.55 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.9147, allocations: 11.98 kB / 1.53 GB, free: 10.54 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.9147, allocations: 23.97 kB / 1.53 GB, free: 10.52 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.9147, allocations: 4 kB / 1.53 GB, free: 10.51 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.0001909/0.9149, allocations: 287.2 kB / 1.53 GB, free: 10.23 MB / 1.214 GB Notification: Performance of sort global known variables: time 6e-08/0.9149, allocations: 0 / 1.53 GB, free: 10.23 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.0003405/0.9152, allocations: 111.8 kB / 1.531 GB, free: 10.12 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.0009074/0.9162, allocations: 1.216 MB / 1.532 GB, free: 8.859 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.9166, allocations: 280.7 kB / 1.532 GB, free: 8.586 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9166, allocations: 0 / 1.532 GB, free: 8.586 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.9167, allocations: 146.4 kB / 1.532 GB, free: 8.445 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.9173, allocations: 201.2 kB / 1.532 GB, free: 8.254 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.9207, allocations: 3.795 MB / 1.536 GB, free: 4.293 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.9209, allocations: 224 kB / 1.536 GB, free: 4.051 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.000254/0.9212, allocations: 99.34 kB / 1.536 GB, free: 3.949 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.9213, allocations: 135.4 kB / 1.537 GB, free: 3.816 MB / 1.214 GB Notification: Performance of SimCode: time 8.92e-07/0.9213, allocations: 0 / 1.537 GB, free: 3.816 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09969/1.021, allocations: 12.87 MB / 1.549 GB, free: 7.293 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.764, allocations: 3.938 kB / 1.549 GB, free: 7.289 MB / 1.229 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_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_MoistAirEnthalpyFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.660771930590272]