Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.0008567/0.0008567, allocations: 104.3 kB / 19.72 MB, free: 424 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.000886/0.000886, allocations: 210.8 kB / 23.03 MB, free: 2.949 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.121/1.121, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.139/2.139, allocations: 0.5045 GB / 0.8104 GB, free: 2.73 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.TemperatureDryBulb,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009127/0.0009127, allocations: 70.05 kB / 1.177 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3452, allocations: 180 MB / 1.352 GB, free: 9.176 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1411/0.4862, allocations: 160.6 MB / 1.509 GB, free: 7.938 MB / 1.198 GB Notification: Performance of NFInst.instExpressions: time 0.004194/0.4904, allocations: 4.128 MB / 1.513 GB, free: 3.801 MB / 1.198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.4907, allocations: 35.69 kB / 1.513 GB, free: 3.766 MB / 1.198 GB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.4912, allocations: 250.1 kB / 1.514 GB, free: 3.52 MB / 1.198 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.4924, allocations: 0.762 MB / 1.514 GB, free: 2.754 MB / 1.198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.4944, allocations: 1.538 MB / 1.516 GB, free: 1.215 MB / 1.198 GB Notification: Performance of NFFlatten.flatten: time 0.0009419/0.4954, allocations: 1.223 MB / 1.517 GB, free: 15.98 MB / 1.214 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.4957, allocations: 329.3 kB / 1.517 GB, free: 15.66 MB / 1.214 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008757/0.4966, allocations: 0.8175 MB / 1.518 GB, free: 14.84 MB / 1.214 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.4969, allocations: 394.2 kB / 1.519 GB, free: 14.45 MB / 1.214 GB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.497, allocations: 48 kB / 1.519 GB, free: 14.4 MB / 1.214 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.4981, allocations: 1.246 MB / 1.52 GB, free: 13.15 MB / 1.214 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.4983, allocations: 191.4 kB / 1.52 GB, free: 12.96 MB / 1.214 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.4984, allocations: 254.8 kB / 1.52 GB, free: 12.71 MB / 1.214 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.4994, allocations: 1.246 MB / 1.521 GB, free: 11.46 MB / 1.214 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4994, allocations: 0 / 1.521 GB, free: 11.46 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4994, allocations: 4 kB / 1.521 GB, free: 11.46 MB / 1.214 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.4995, allocations: 0 / 1.521 GB, free: 11.46 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001087/0.5005, allocations: 0.9565 MB / 1.522 GB, free: 10.46 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5006, allocations: 8.922 kB / 1.522 GB, free: 10.45 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.5007, allocations: 90.52 kB / 1.523 GB, free: 10.36 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.5018, allocations: 287.2 kB / 1.523 GB, free: 10.07 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.5024, allocations: 394.7 kB / 1.523 GB, free: 9.668 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.5024, allocations: 33 kB / 1.523 GB, free: 9.637 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.5025, allocations: 47.94 kB / 1.523 GB, free: 9.59 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.5033, allocations: 0.5507 MB / 1.524 GB, free: 9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5033, allocations: 0 / 1.524 GB, free: 9 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.5034, allocations: 23.88 kB / 1.524 GB, free: 8.977 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.5034, allocations: 16 kB / 1.524 GB, free: 8.961 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000613/0.504, allocations: 455.5 kB / 1.524 GB, free: 8.52 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.5056, allocations: 1.775 MB / 1.526 GB, free: 6.664 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.5062, allocations: 390.4 kB / 1.526 GB, free: 6.273 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.5065, allocations: 216.6 kB / 1.527 GB, free: 6.059 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.5068, allocations: 87.91 kB / 1.527 GB, free: 5.973 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/0.5072, allocations: 291.1 kB / 1.527 GB, free: 5.676 MB / 1.214 GB Notification: Performance of pre-optimization done (n=37): time 1.874e-06/0.5072, allocations: 0 / 1.527 GB, free: 5.676 MB / 1.214 GB Notification: Performance of matching and sorting (n=37): time 0.001045/0.5082, allocations: 0.6894 MB / 1.528 GB, free: 4.98 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.5082, allocations: 55.41 kB / 1.528 GB, free: 4.914 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.5086, allocations: 497.9 kB / 1.528 GB, free: 4.414 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.5087, allocations: 37.7 kB / 1.528 GB, free: 4.371 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.5088, allocations: 260.4 kB / 1.528 GB, free: 4.113 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 7.839e-05/0.5089, allocations: 130.9 kB / 1.529 GB, free: 3.984 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.509, allocations: 98.06 kB / 1.529 GB, free: 3.883 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5091, allocations: 362.8 kB / 1.529 GB, free: 3.52 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.5094, allocations: 248.2 kB / 1.529 GB, free: 3.266 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.5098, allocations: 499.6 kB / 1.53 GB, free: 2.695 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/0.5104, allocations: 0.5532 MB / 1.53 GB, free: 2.09 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5104, allocations: 3.938 kB / 1.53 GB, free: 2.086 MB / 1.214 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009274/0.5113, allocations: 0.7065 MB / 1.531 GB, free: 1.348 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.5114, allocations: 69.42 kB / 1.531 GB, free: 1.27 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5114, allocations: 4 kB / 1.531 GB, free: 1.266 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5114, allocations: 4 kB / 1.531 GB, free: 1.262 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.5116, allocations: 95.81 kB / 1.531 GB, free: 1.168 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.5116, allocations: 11.94 kB / 1.531 GB, free: 1.156 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.5119, allocations: 79.77 kB / 1.531 GB, free: 1.078 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.5119, allocations: 24 kB / 1.531 GB, free: 1.055 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001557/0.5121, allocations: 194.2 kB / 1.531 GB, free: 0.8555 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.5121, allocations: 59.62 kB / 1.531 GB, free: 0.7969 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006833/0.5128, allocations: 0.5458 MB / 1.532 GB, free: 252 kB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5128, allocations: 4 kB / 1.532 GB, free: 248 kB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5128, allocations: 0 / 1.532 GB, free: 248 kB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5128, allocations: 0 / 1.532 GB, free: 248 kB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.5141, allocations: 1.269 MB / 1.533 GB, free: 14.88 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.5141, allocations: 4.438 kB / 1.533 GB, free: 14.88 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.5143, allocations: 75.89 kB / 1.533 GB, free: 14.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5143, allocations: 4 kB / 1.533 GB, free: 14.8 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.5144, allocations: 15.98 kB / 1.533 GB, free: 14.78 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5144, allocations: 4 kB / 1.533 GB, free: 14.78 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5144, allocations: 7.938 kB / 1.533 GB, free: 14.77 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009943/0.5154, allocations: 0.9477 MB / 1.534 GB, free: 13.76 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.5155, allocations: 95.52 kB / 1.534 GB, free: 13.67 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.5155, allocations: 8 kB / 1.534 GB, free: 13.66 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.5157, allocations: 40.02 kB / 1.534 GB, free: 13.62 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.5158, allocations: 51.86 kB / 1.534 GB, free: 13.57 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.5159, allocations: 16 kB / 1.534 GB, free: 13.55 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.000257/0.5161, allocations: 342.8 kB / 1.535 GB, free: 13.22 MB / 1.229 GB Notification: Performance of sort global known variables: time 9e-08/0.5161, allocations: 0 / 1.535 GB, free: 13.22 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.0003611/0.5165, allocations: 151.8 kB / 1.535 GB, free: 13.07 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001358/0.5178, allocations: 1.55 MB / 1.536 GB, free: 11.46 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.0007257/0.5186, allocations: 0.6343 MB / 1.537 GB, free: 10.79 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5186, allocations: 0 / 1.537 GB, free: 10.79 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.519, allocations: 273.1 kB / 1.537 GB, free: 10.52 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008958/0.5198, allocations: 274.7 kB / 1.538 GB, free: 10.26 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.5245, allocations: 5.212 MB / 1.543 GB, free: 4.734 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.5246, allocations: 264.6 kB / 1.543 GB, free: 4.453 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.0002572/0.5249, allocations: 128.6 kB / 1.543 GB, free: 4.324 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.5251, allocations: 171.4 kB / 1.543 GB, free: 4.156 MB / 1.229 GB Notification: Performance of SimCode: time 5.2e-07/0.5251, allocations: 0 / 1.543 GB, free: 4.156 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08755/0.6126, allocations: 17.31 MB / 1.56 GB, free: 3.254 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.68, allocations: 10.3 kB / 1.56 GB, free: 3.246 MB / 1.245 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_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_TemperatureDryBulb.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.328642199747264]