Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow.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.0008937/0.0008937, allocations: 105.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.001006/0.001006, allocations: 217.8 kB / 22.25 MB, free: 3.582 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 0.9658/0.9658, allocations: 230.6 MB / 256 MB, free: 9.629 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.06766/0.06766, allocations: 17.17 MB / 329.6 MB, free: 0.832 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.SkinHeatTransferOnBloodFlow,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_SkinHeatTransferOnBloodFlow",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.0009634/0.0009634, allocations: 71.83 kB / 460.2 MB, free: 26.92 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08869, allocations: 57.76 MB / 0.5058 GB, free: 1.055 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow): time 0.002429/0.09112, allocations: 1.93 MB / 0.5077 GB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001482/0.09127, allocations: 75.72 kB / 0.5078 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.09134, allocations: 4 kB / 0.5078 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.09144, allocations: 11.86 kB / 0.5078 GB, free: 15.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.09149, allocations: 27.77 kB / 0.5078 GB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.525e-05/0.09156, allocations: 19.97 kB / 0.5078 GB, free: 14.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.09169, allocations: 79.61 kB / 0.5079 GB, free: 14.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.09181, allocations: 24.11 kB / 0.5079 GB, free: 14.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.139e-05/0.09184, allocations: 19.94 kB / 0.5079 GB, free: 14.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.0919, allocations: 23.86 kB / 0.508 GB, free: 14.83 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.09191, allocations: 7.938 kB / 0.508 GB, free: 14.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.09192, allocations: 4 kB / 0.508 GB, free: 14.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.09194, allocations: 7.984 kB / 0.508 GB, free: 14.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.09197, allocations: 27.88 kB / 0.508 GB, free: 14.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.09208, allocations: 67.95 kB / 0.5081 GB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.09208, allocations: 4 kB / 0.5081 GB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.09208, allocations: 0 / 0.5081 GB, free: 14.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.09209, allocations: 4 kB / 0.5081 GB, free: 14.71 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.0003554/0.09245, allocations: 294.1 kB / 0.5084 GB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.09249, allocations: 8.031 kB / 0.5084 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.09252, allocations: 42.73 kB / 0.5084 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.09254, allocations: 4.891 kB / 0.5084 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.09274, allocations: 134.4 kB / 0.5086 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.09275, allocations: 4.312 kB / 0.5086 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.09276, allocations: 4.375 kB / 0.5086 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.09287, allocations: 62 kB / 0.5086 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.09288, allocations: 4 kB / 0.5086 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.09288, allocations: 0 / 0.5086 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.09289, allocations: 0 / 0.5086 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.09293, allocations: 23.98 kB / 0.5086 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.09334, allocations: 430.3 kB / 0.5091 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.861e-05/0.09341, allocations: 165.1 kB / 0.5092 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.09344, allocations: 89.22 kB / 0.5093 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.09346, allocations: 79.28 kB / 0.5094 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.0935, allocations: 113.8 kB / 0.5095 GB, free: 13.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.083e-06/0.0935, allocations: 0 / 0.5095 GB, free: 13.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.47e-05/0.09356, allocations: 37.66 kB / 0.5095 GB, free: 13.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.09361, allocations: 130.6 kB / 0.5096 GB, free: 12.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.09373, allocations: 144.6 kB / 0.5098 GB, free: 12.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.09374, allocations: 25.81 kB / 0.5098 GB, free: 12.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.09379, allocations: 111.9 kB / 0.5099 GB, free: 12.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.0938, allocations: 0 / 0.5099 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.09382, allocations: 13.75 kB / 0.5099 GB, free: 12.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.384e-05/0.09391, allocations: 318.8 kB / 0.5102 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.09393, allocations: 11.92 kB / 0.5102 GB, free: 12.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-06/0.09394, allocations: 0 / 0.5102 GB, free: 12.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.968e-05/0.09397, allocations: 16.92 kB / 0.5103 GB, free: 12.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.09397, allocations: 0 / 0.5103 GB, free: 12.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.643e-05/0.09407, allocations: 37.66 kB / 0.5103 GB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.09408, allocations: 4 kB / 0.5103 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.09409, allocations: 0 / 0.5103 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.0941, allocations: 0 / 0.5103 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.09416, allocations: 11.94 kB / 0.5103 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.09417, allocations: 0 / 0.5103 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.09418, allocations: 0 / 0.5103 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.09419, allocations: 0 / 0.5103 GB, free: 12.23 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 7.648e-05/0.09426, allocations: 201.1 kB / 0.5105 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.09431, allocations: 108.9 kB / 0.5106 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.09435, allocations: 112.8 kB / 0.5107 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-05/0.0944, allocations: 184.1 kB / 0.5109 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.567e-05/0.09444, allocations: 184.2 kB / 0.5111 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.315e-05/0.09449, allocations: 180.2 kB / 0.5112 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.09466, allocations: 388.3 kB / 0.5116 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-05/0.09468, allocations: 105 kB / 0.5117 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.09471, allocations: 105.1 kB / 0.5118 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.366e-05/0.09475, allocations: 184.3 kB / 0.512 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.0948, allocations: 188.2 kB / 0.5122 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.333e-05/0.09484, allocations: 180.2 kB / 0.5123 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-05/0.09489, allocations: 184.2 kB / 0.5125 GB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.09513, allocations: 311.7 kB / 0.5128 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.09517, allocations: 108.9 kB / 0.5129 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.09523, allocations: 184.2 kB / 0.5131 GB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.09529, allocations: 104.9 kB / 0.5132 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.09534, allocations: 180.2 kB / 0.5134 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.09536, allocations: 105 kB / 0.5135 GB, free: 8.809 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.059e-05/0.09542, allocations: 118.1 kB / 0.5136 GB, free: 8.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09542, allocations: 3.938 kB / 0.5136 GB, free: 8.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.09558, allocations: 16 kB / 0.5136 GB, free: 8.676 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.0003315/0.09591, allocations: 0.8009 MB / 0.5144 GB, free: 7.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.09598, allocations: 11.92 kB / 0.5144 GB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.09598, allocations: 0 / 0.5144 GB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.09598, allocations: 0 / 0.5144 GB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.09637, allocations: 495.5 kB / 0.5149 GB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009689/0.09733, allocations: 1.468 MB / 0.5163 GB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.875e-05/0.09738, allocations: 75.22 kB / 0.5164 GB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.999e-05/0.09741, allocations: 4.672 kB / 0.5164 GB, free: 5.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.09745, allocations: 23.42 kB / 0.5164 GB, free: 5.672 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/0.09746, allocations: 0 / 0.5164 GB, free: 5.672 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07817/0.1756, allocations: 2.687 MB / 0.519 GB, free: 3.117 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.2, allocations: 11.97 kB / 0.519 GB, free: 3.105 MB / 378.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu) > Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow_fmpy.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow_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_SkinHeatTransferOnBloodFlow.fmu) > Bodylight_Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.485075997188687]