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.0008062/0.0008062, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001539/0.001539, allocations: 166.3 kB / 22.46 MB, free: 2.105 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.9447/0.9447, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.05863/0.05863, allocations: 12.75 MB / 271.9 MB, free: 500 kB / 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: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 402.6 MB, free: 9.797 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.357e-05, allocations: 2.281 kB / 402.6 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.SkinHeatTransferOnBloodFlow): time 0.003351/0.003374, allocations: 1.931 MB / 404.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000211/0.003585, allocations: 67.77 kB / 404.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.003663, allocations: 0 / 404.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.003789, allocations: 15.86 kB / 404.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.003862, allocations: 27.72 kB / 404.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.205e-05/0.003954, allocations: 27.97 kB / 404.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.004122, allocations: 83.48 kB / 404.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.004258, allocations: 24.16 kB / 404.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.44e-05/0.004323, allocations: 35.91 kB / 404.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.004386, allocations: 15.92 kB / 404.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.004408, allocations: 4 kB / 404.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.00442, allocations: 8 kB / 404.8 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.00444, allocations: 7.938 kB / 404.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.00448, allocations: 23.97 kB / 404.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.004604, allocations: 59.8 kB / 404.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004607, allocations: 4 kB / 404.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004608, allocations: 4 kB / 404.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.004612, allocations: 0 / 404.9 MB, free: 7.449 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.0004117/0.005023, allocations: 294.1 kB / 405.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.00507, allocations: 15.98 kB / 405.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.005112, allocations: 34.75 kB / 405.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.005143, allocations: 8.891 kB / 405.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.005349, allocations: 133.6 kB / 405.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.005359, allocations: 4.375 kB / 405.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.005372, allocations: 4.375 kB / 405.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.005503, allocations: 62.19 kB / 405.5 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005512, allocations: 4.188 kB / 405.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.005522, allocations: 384 / 405.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.005529, allocations: 3.938 kB / 405.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.379e-05/0.005593, allocations: 23.98 kB / 405.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.006131, allocations: 434.2 kB / 405.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.006223, allocations: 173.1 kB / 406.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.006255, allocations: 80.14 kB / 406.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.006284, allocations: 75.28 kB / 406.3 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.006329, allocations: 109.8 kB / 406.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.00633, allocations: 4 kB / 406.4 MB, free: 5.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.374e-05/0.006414, allocations: 37.64 kB / 406.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.006479, allocations: 138.6 kB / 406.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.006639, allocations: 145.1 kB / 406.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.006649, allocations: 25.7 kB / 406.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.006719, allocations: 96.09 kB / 406.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-06/0.006722, allocations: 0 / 406.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.006756, allocations: 13.7 kB / 406.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.006871, allocations: 322.8 kB / 407.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.006883, allocations: 0 / 407.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.006894, allocations: 8 kB / 407.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.006923, allocations: 4.859 kB / 407.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006925, allocations: 0 / 407.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.007034, allocations: 49.64 kB / 407.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.007049, allocations: 4 kB / 407.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007054, allocations: 3.938 kB / 407.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.007069, allocations: 0 / 407.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.007127, allocations: 112 / 407.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.007133, allocations: 7.938 kB / 407.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.007167, allocations: 7.969 kB / 407.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.007172, allocations: 4 kB / 407.2 MB, free: 4.965 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 9.613e-05/0.007268, allocations: 189.1 kB / 407.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.007332, allocations: 113 kB / 407.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.007388, allocations: 116.7 kB / 407.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.223e-05/0.00745, allocations: 180.3 kB / 407.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.504e-05/0.007515, allocations: 176.3 kB / 408 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.045e-05/0.007586, allocations: 184.2 kB / 408.2 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.007821, allocations: 392.2 kB / 408.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-05/0.007856, allocations: 108.9 kB / 408.6 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.007893, allocations: 112.9 kB / 408.8 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.712e-05/0.00795, allocations: 184.3 kB / 408.9 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.008007, allocations: 184.2 kB / 409.1 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.038e-05/0.008057, allocations: 176.3 kB / 409.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.225e-05/0.008109, allocations: 184.2 kB / 409.5 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.008241, allocations: 311.7 kB / 409.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.008292, allocations: 112.9 kB / 409.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.008362, allocations: 176.3 kB / 410 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/0.008453, allocations: 112.9 kB / 410.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.008514, allocations: 176.3 kB / 410.3 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.008551, allocations: 101 kB / 410.4 MB, free: 1.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.415e-05/0.008635, allocations: 127.1 kB / 410.6 MB, free: 1.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.008635, allocations: 0 / 410.6 MB, free: 1.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.008871, allocations: 8 kB / 410.6 MB, free: 1.414 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.0003474/0.009218, allocations: 0.8048 MB / 411.4 MB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.336e-05/0.009281, allocations: 4 kB / 411.4 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.009284, allocations: 0 / 411.4 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.919e-06/0.009288, allocations: 7.938 kB / 411.4 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.009786, allocations: 483.7 kB / 411.9 MB, free: 96 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.01128, allocations: 1.48 MB / 413.3 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.169e-05/0.01134, allocations: 71.33 kB / 413.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.364e-05/0.01138, allocations: 4.734 kB / 413.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.01142, allocations: 20.48 kB / 413.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01142, allocations: 7.938 kB / 413.4 MB, free: 14.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08078/0.0922, allocations: 2.811 MB / 416.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.097, allocations: 8 kB / 416.3 MB, free: 11.72 MB / 394.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.348993699997663]