Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.0009204/0.0009204, allocations: 80.55 kB / 19.96 MB, free: 4.59 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.001076/0.001076, allocations: 173.2 kB / 23.24 MB, free: 1.312 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.9185/0.9185, allocations: 177.1 MB / 203.6 MB, free: 5.73 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.899/1.899, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 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.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 1.001 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.839e-05, allocations: 5.516 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002982/0.00301, allocations: 1.619 MB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004097/0.007107, allocations: 3.11 MB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.007209, allocations: 0 / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.007253, allocations: 7.875 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.007379, allocations: 23.78 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.00931, allocations: 139.4 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.009459, allocations: 83.7 kB / 1.006 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.009579, allocations: 11.98 kB / 1.006 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.009757, allocations: 59.83 kB / 1.006 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.00983, allocations: 31.89 kB / 1.006 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.009846, allocations: 4 kB / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.01005, allocations: 99.72 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.01007, allocations: 11.98 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.0101, allocations: 23.92 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.01032, allocations: 139.5 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01033, allocations: 0 / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01033, allocations: 0 / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.01034, allocations: 0 / 1.006 GB, free: 8.082 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005546/0.01089, allocations: 321.9 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.01095, allocations: 17.33 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.011, allocations: 38.75 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.01117, allocations: 24.88 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.01145, allocations: 133.6 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.01146, allocations: 384 / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.01148, allocations: 12.12 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.01168, allocations: 81.58 kB / 1.007 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.01169, allocations: 0 / 1.007 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.0117, allocations: 0 / 1.007 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.01171, allocations: 8 kB / 1.007 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.01184, allocations: 67.95 kB / 1.007 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.01226, allocations: 291.8 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.01244, allocations: 86.48 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.01251, allocations: 44.84 kB / 1.007 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004538/0.01296, allocations: 348.4 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.01299, allocations: 38.56 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.01299, allocations: 0 / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002831/0.01327, allocations: 145.9 kB / 1.008 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.0133, allocations: 51.41 kB / 1.008 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.01338, allocations: 125.8 kB / 1.008 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.01339, allocations: 37.69 kB / 1.008 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.01344, allocations: 88.09 kB / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.01346, allocations: 27.75 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.01349, allocations: 25.7 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.01358, allocations: 318.8 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.01364, allocations: 27.98 kB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.497e-05/0.0137, allocations: 45.69 kB / 1.008 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.01382, allocations: 85.69 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01382, allocations: 0 / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001649/0.01398, allocations: 117.6 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.014, allocations: 8 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01401, allocations: 0 / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.01402, allocations: 3.938 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.821e-05/0.01411, allocations: 23.92 kB / 1.008 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.01412, allocations: 4.031 kB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.01415, allocations: 11.94 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.01416, allocations: 4 kB / 1.008 GB, free: 5.25 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 7.277e-05/0.01423, allocations: 113.8 kB / 1.009 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.01425, allocations: 7.953 kB / 1.009 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.01446, allocations: 118 kB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.01446, allocations: 3.938 kB / 1.009 GB, free: 5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01447, allocations: 8 kB / 1.009 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01447, allocations: 0 / 1.009 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.01462, allocations: 156.9 kB / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01462, allocations: 3.938 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.01467, allocations: 19.92 kB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01468, allocations: 0 / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01469, allocations: 4 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01469, allocations: 3.938 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01469, allocations: 0 / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.01488, allocations: 203.4 kB / 1.009 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.01489, allocations: 15.89 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.01491, allocations: 4 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.688e-05/0.01496, allocations: 7.938 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.01501, allocations: 11.97 kB / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.01501, allocations: 0 / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.702e-05/0.01506, allocations: 101.5 kB / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01506, allocations: 0 / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001976/0.01526, allocations: 19.94 kB / 1.009 GB, free: 4.395 MB / 0.9636 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 (8): * Single equations (assignments): 8 * 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.0005335/0.01579, allocations: 0.7592 MB / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.01596, allocations: 72.22 kB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01596, allocations: 0 / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.01602, allocations: 40.06 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.01623, allocations: 12.09 kB / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.01753, allocations: 1.515 MB / 1.012 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.01758, allocations: 71.33 kB / 1.012 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.01762, allocations: 16.02 kB / 1.012 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.01767, allocations: 20.5 kB / 1.012 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of SimCode: time 1.112e-06/0.01767, allocations: 3.938 kB / 1.012 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07821/0.09588, allocations: 2.99 MB / 1.015 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.481, allocations: 10.28 kB / 1.015 GB, free: 14.9 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_fmpy_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ../Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.177276944741607]