Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.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.0009022/0.0009022, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 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.0009185/0.0009185, allocations: 221.8 kB / 22.25 MB, free: 3.578 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.035/1.035, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.07187/0.07187, allocations: 17.16 MB / 329.6 MB, free: 0.7148 MB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.89 kB / 460.2 MB, free: 26.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08372/0.08522, allocations: 57.77 MB / 0.5058 GB, free: 1.004 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.SkinHeatFlow): time 0.002199/0.08742, allocations: 1.918 MB / 0.5077 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.08757, allocations: 75.72 kB / 0.5078 GB, free: 15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.08763, allocations: 0 / 0.5078 GB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.08773, allocations: 15.86 kB / 0.5078 GB, free: 14.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.08778, allocations: 23.77 kB / 0.5078 GB, free: 14.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.404e-05/0.08784, allocations: 19.98 kB / 0.5078 GB, free: 14.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.08797, allocations: 83.53 kB / 0.5079 GB, free: 14.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.08807, allocations: 24.11 kB / 0.5079 GB, free: 14.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.808e-05/0.0881, allocations: 19.94 kB / 0.5079 GB, free: 14.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.08816, allocations: 23.86 kB / 0.508 GB, free: 14.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.08817, allocations: 4 kB / 0.508 GB, free: 14.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.08818, allocations: 4 kB / 0.508 GB, free: 14.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.0882, allocations: 19.92 kB / 0.508 GB, free: 14.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.08823, allocations: 19.94 kB / 0.508 GB, free: 14.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.793e-05/0.08833, allocations: 67.95 kB / 0.5081 GB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.08833, allocations: 0 / 0.5081 GB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.08833, allocations: 4 kB / 0.5081 GB, free: 14.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.08834, allocations: 0 / 0.5081 GB, free: 14.67 MB / 378.7 MB 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.0003205/0.08866, allocations: 294 kB / 0.5084 GB, free: 14.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.0887, allocations: 12.03 kB / 0.5084 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.08873, allocations: 38.75 kB / 0.5084 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.08875, allocations: 8.891 kB / 0.5084 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.08891, allocations: 134.3 kB / 0.5085 GB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.08892, allocations: 4.375 kB / 0.5085 GB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.08893, allocations: 8.375 kB / 0.5086 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.799e-05/0.08903, allocations: 57.98 kB / 0.5086 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.08903, allocations: 4 kB / 0.5086 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.08904, allocations: 4 kB / 0.5086 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.08905, allocations: 0 / 0.5086 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.08909, allocations: 19.98 kB / 0.5086 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.08944, allocations: 430.3 kB / 0.509 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.42e-05/0.08951, allocations: 173.1 kB / 0.5092 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.08953, allocations: 85.3 kB / 0.5093 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.08955, allocations: 75.28 kB / 0.5094 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.08959, allocations: 106 kB / 0.5095 GB, free: 13.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.08959, allocations: 3.938 kB / 0.5095 GB, free: 13.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.651e-05/0.08964, allocations: 37.64 kB / 0.5095 GB, free: 13.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.08969, allocations: 134.6 kB / 0.5096 GB, free: 12.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.08979, allocations: 148.5 kB / 0.5098 GB, free: 12.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.0898, allocations: 29.7 kB / 0.5098 GB, free: 12.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.08984, allocations: 104 kB / 0.5099 GB, free: 12.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.08985, allocations: 0 / 0.5099 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.08987, allocations: 13.69 kB / 0.5099 GB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.08996, allocations: 322.8 kB / 0.5102 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.08997, allocations: 0 / 0.5102 GB, free: 12.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-06/0.08998, allocations: 4 kB / 0.5102 GB, free: 12.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.09, allocations: 12.84 kB / 0.5102 GB, free: 12.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.09, allocations: 0 / 0.5102 GB, free: 12.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.496e-05/0.09009, allocations: 49.72 kB / 0.5103 GB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.0901, allocations: 6.969 kB / 0.5103 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.0901, allocations: 0 / 0.5103 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.09012, allocations: 3.938 kB / 0.5103 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.212e-05/0.09016, allocations: 3.938 kB / 0.5103 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.09016, allocations: 7.984 kB / 0.5103 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.09018, allocations: 0 / 0.5103 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.09018, allocations: 0 / 0.5103 GB, free: 12.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 6.447e-05/0.09025, allocations: 189.1 kB / 0.5105 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.09028, allocations: 112.9 kB / 0.5106 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.09035, allocations: 116.7 kB / 0.5107 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/0.09038, allocations: 184.2 kB / 0.5109 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/0.09042, allocations: 176.3 kB / 0.5111 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.009e-05/0.09046, allocations: 188.2 kB / 0.5112 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.09068, allocations: 384.3 kB / 0.5116 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.0907, allocations: 112.9 kB / 0.5117 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.09072, allocations: 101.1 kB / 0.5118 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-05/0.09076, allocations: 180.3 kB / 0.512 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.09081, allocations: 188.2 kB / 0.5122 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.799e-05/0.09084, allocations: 180.2 kB / 0.5123 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.882e-05/0.09088, allocations: 180.2 kB / 0.5125 GB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.02e-05/0.09097, allocations: 315.8 kB / 0.5128 GB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.09101, allocations: 112.9 kB / 0.5129 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.09106, allocations: 184.2 kB / 0.5131 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.09111, allocations: 112.9 kB / 0.5132 GB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.09127, allocations: 176.3 kB / 0.5134 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.09129, allocations: 105 kB / 0.5135 GB, free: 8.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.607e-05/0.09135, allocations: 117.8 kB / 0.5136 GB, free: 8.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09135, allocations: 3.938 kB / 0.5136 GB, free: 8.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.09149, allocations: 8 kB / 0.5136 GB, free: 8.637 MB / 378.7 MB 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 (0): * Single equations (assignments): 0 * 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.0002314/0.09172, allocations: 0.8009 MB / 0.5144 GB, free: 7.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.176e-05/0.09178, allocations: 4 kB / 0.5144 GB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.09178, allocations: 4 kB / 0.5144 GB, free: 7.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.444e-06/0.09178, allocations: 11.88 kB / 0.5144 GB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.09211, allocations: 491.4 kB / 0.5148 GB, free: 7.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.09294, allocations: 1.471 MB / 0.5163 GB, free: 5.758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.474e-05/0.09299, allocations: 83.28 kB / 0.5164 GB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.981e-05/0.09302, allocations: 8.75 kB / 0.5164 GB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.09305, allocations: 23.42 kB / 0.5164 GB, free: 5.621 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.09305, allocations: 0 / 0.5164 GB, free: 5.621 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09521/0.1883, allocations: 2.675 MB / 0.519 GB, free: 3.074 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/6.979, allocations: 2.109 kB / 0.519 GB, free: 3.074 MB / 378.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Thermal_Examples_SkinHeatFlow_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Thermal_Examples_SkinHeatFlow.fmu) > Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow_fmpy.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow_fmpy_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 ../Bodylight_Bodylight_Thermal_Examples_SkinHeatFlow.fmu) > Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.42673092521727]