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.0008147/0.0008147, 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.0009617/0.0009617, allocations: 165.9 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.9956/0.9956, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.07996/0.07996, allocations: 12.74 MB / 271.9 MB, free: 0.4922 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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 402.6 MB, free: 8.625 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.871e-05, allocations: 6.219 kB / 402.6 MB, free: 8.617 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.SkinHeatFlow): time 0.002251/0.00228, allocations: 1.931 MB / 404.5 MB, free: 6.68 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001553/0.002435, allocations: 71.75 kB / 404.6 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.002501, allocations: 4 kB / 404.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.002606, allocations: 15.86 kB / 404.6 MB, free: 6.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.002654, allocations: 27.72 kB / 404.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.358e-05/0.002718, allocations: 15.98 kB / 404.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.002854, allocations: 87.47 kB / 404.7 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.002967, allocations: 28.16 kB / 404.8 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.003135, allocations: 35.91 kB / 404.8 MB, free: 6.395 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.003188, allocations: 19.92 kB / 404.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.003204, allocations: 4 kB / 404.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.475e-06/0.003213, allocations: 4 kB / 404.8 MB, free: 6.367 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.003229, allocations: 11.98 kB / 404.8 MB, free: 6.355 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.003258, allocations: 19.94 kB / 404.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.875e-05/0.003356, allocations: 67.78 kB / 404.9 MB, free: 6.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003358, allocations: 0 / 404.9 MB, free: 6.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.003359, allocations: 0 / 404.9 MB, free: 6.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.003363, allocations: 3.938 kB / 404.9 MB, free: 6.266 MB / 330.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.000314/0.003677, allocations: 290.1 kB / 405.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.003717, allocations: 15.98 kB / 405.2 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.003747, allocations: 30.75 kB / 405.3 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.003768, allocations: 8.891 kB / 405.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.00394, allocations: 141.6 kB / 405.4 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.003947, allocations: 4.375 kB / 405.4 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.003956, allocations: 4.375 kB / 405.4 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.004056, allocations: 58.25 kB / 405.5 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004064, allocations: 192 / 405.5 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.004071, allocations: 384 / 405.5 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004077, allocations: 3.938 kB / 405.5 MB, free: 5.652 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.00412, allocations: 27.94 kB / 405.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.004483, allocations: 438.2 kB / 405.9 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.32e-05/0.004556, allocations: 177.1 kB / 406.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.004578, allocations: 80.14 kB / 406.2 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.004597, allocations: 75.28 kB / 406.3 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.004644, allocations: 109.8 kB / 406.4 MB, free: 4.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.004644, allocations: 0 / 406.4 MB, free: 4.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.134e-05/0.004696, allocations: 29.7 kB / 406.4 MB, free: 4.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.004735, allocations: 126.7 kB / 406.5 MB, free: 4.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.004845, allocations: 154 kB / 406.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-06/0.004852, allocations: 25.7 kB / 406.7 MB, free: 4.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.004935, allocations: 92.14 kB / 406.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.004937, allocations: 4 kB / 406.8 MB, free: 4.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.004961, allocations: 17.67 kB / 406.8 MB, free: 4.207 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.005034, allocations: 322.8 kB / 407.1 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-06/0.005042, allocations: 0 / 407.1 MB, free: 3.883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-06/0.005049, allocations: 8 kB / 407.1 MB, free: 3.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/0.005071, allocations: 4.859 kB / 407.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.005073, allocations: 0 / 407.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.365e-05/0.005146, allocations: 45.69 kB / 407.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.005157, allocations: 4 kB / 407.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.005161, allocations: 96 / 407.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.005172, allocations: 4 kB / 407.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.347e-05/0.005215, allocations: 7.938 kB / 407.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.005219, allocations: 0 / 407.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.005239, allocations: 11.83 kB / 407.2 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.005243, allocations: 0 / 407.2 MB, free: 3.789 MB / 330.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.548e-05/0.005308, allocations: 185.1 kB / 407.4 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.005346, allocations: 117 kB / 407.5 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.005382, allocations: 120.6 kB / 407.6 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.864e-05/0.00548, allocations: 184.1 kB / 407.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.749e-05/0.005518, allocations: 176.3 kB / 408 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-05/0.005558, allocations: 192.2 kB / 408.2 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.005731, allocations: 392.2 kB / 408.5 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/0.005762, allocations: 108.9 kB / 408.6 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.005792, allocations: 101 kB / 408.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.48e-05/0.005837, allocations: 184.3 kB / 408.9 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.005881, allocations: 184.2 kB / 409.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-05/0.00592, allocations: 176.3 kB / 409.3 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001613/0.006081, allocations: 180.2 kB / 409.5 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.041e-05/0.006171, allocations: 315.7 kB / 409.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.006205, allocations: 112.9 kB / 409.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.006252, allocations: 180.3 kB / 410 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.607e-05/0.006308, allocations: 112.9 kB / 410.2 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.006352, allocations: 180.2 kB / 410.3 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.006375, allocations: 105 kB / 410.4 MB, free: 368 kB / 330.7 MB Notification: Performance of sorting global known variables: time 5.612e-05/0.006431, allocations: 114 kB / 410.5 MB, free: 256 kB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006431, allocations: 0 / 410.5 MB, free: 256 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001508/0.006582, allocations: 15.94 kB / 410.6 MB, free: 240 kB / 330.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.1664/0.173, allocations: 0.8011 MB / 411.4 MB, free: 21.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.841e-05/0.1731, allocations: 5.672 kB / 411.4 MB, free: 21.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1731, allocations: 1 kB / 411.4 MB, free: 21.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.1731, allocations: 4.625 kB / 411.4 MB, free: 21.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1734, allocations: 476.4 kB / 411.8 MB, free: 21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/0.1744, allocations: 1.476 MB / 413.3 MB, free: 19.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.364e-05/0.1744, allocations: 78.61 kB / 413.4 MB, free: 19.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.387e-05/0.1744, allocations: 5.672 kB / 413.4 MB, free: 19.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.1745, allocations: 21.77 kB / 413.4 MB, free: 19.62 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1745, allocations: 0 / 413.4 MB, free: 19.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07488/0.2494, allocations: 2.812 MB / 416.2 MB, free: 18.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.218, allocations: 1.125 kB / 416.2 MB, free: 18.69 MB / 330.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.410783987492323]