Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.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.0008935/0.0008935, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001234/0.001234, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9605/0.9605, 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.06334/0.06334, allocations: 12.74 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.ThermalBody_QHP,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Bodylight_Bodylight_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 402.6 MB, free: 9.793 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.512e-05, allocations: 2.281 kB / 402.6 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.003128/0.003144, allocations: 3.529 MB / 406.1 MB, free: 6.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005728/0.003716, allocations: 426.5 kB / 406.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.003866, allocations: 11.94 kB / 406.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.004056, allocations: 83.22 kB / 406.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.004229, allocations: 174.3 kB / 406.8 MB, free: 5.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.004439, allocations: 99.84 kB / 406.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.004849, allocations: 0.5402 MB / 407.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.005057, allocations: 112.7 kB / 407.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.005242, allocations: 267.5 kB / 407.8 MB, free: 4.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.005415, allocations: 135.6 kB / 408 MB, free: 4.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.005456, allocations: 36 kB / 408 MB, free: 4.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.005497, allocations: 32 kB / 408 MB, free: 4.344 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.005546, allocations: 75.67 kB / 408.1 MB, free: 4.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.005654, allocations: 147.7 kB / 408.2 MB, free: 4.125 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.006003, allocations: 442.6 kB / 408.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.006006, allocations: 0 / 408.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006007, allocations: 7.938 kB / 408.7 MB, free: 3.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.006013, allocations: 0 / 408.7 MB, free: 3.684 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007467/0.00676, allocations: 0.614 MB / 409.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.006802, allocations: 11.98 kB / 409.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.00686, allocations: 66.72 kB / 409.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.006909, allocations: 48.66 kB / 409.4 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.007188, allocations: 253.6 kB / 409.7 MB, free: 2.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.007213, allocations: 21.03 kB / 409.7 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.007243, allocations: 24.38 kB / 409.7 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.00754, allocations: 254.6 kB / 410 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.007554, allocations: 4.141 kB / 410 MB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.007573, allocations: 12.38 kB / 410 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.007581, allocations: 12.12 kB / 410 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.007831, allocations: 186.5 kB / 410.2 MB, free: 2.121 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.008763, allocations: 0.8003 MB / 411 MB, free: 1.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.009048, allocations: 198.2 kB / 411.2 MB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.009203, allocations: 125.2 kB / 411.3 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.00922, allocations: 4.234 kB / 411.3 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.00924, allocations: 34.8 kB / 411.3 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.245e-06/0.009242, allocations: 0 / 411.3 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004315/0.009674, allocations: 319.9 kB / 411.6 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.00971, allocations: 55.41 kB / 411.7 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.009908, allocations: 280.6 kB / 412 MB, free: 240 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.009926, allocations: 33.7 kB / 412 MB, free: 200 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.01001, allocations: 188.7 kB / 412.2 MB, free: 8 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.01007, allocations: 95.44 kB / 412.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.01013, allocations: 45.7 kB / 412.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.01023, allocations: 338.8 kB / 412.7 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/0.01033, allocations: 71.97 kB / 412.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.01042, allocations: 67.98 kB / 412.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.01111, allocations: 393.9 kB / 413.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01111, allocations: 7.938 kB / 413.2 MB, free: 14.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002765/0.01139, allocations: 257.2 kB / 413.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.0114, allocations: 4 kB / 413.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01141, allocations: 0 / 413.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.01142, allocations: 4 kB / 413.4 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.01157, allocations: 51.91 kB / 413.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01157, allocations: 0 / 413.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.01164, allocations: 23.84 kB / 413.5 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.01166, allocations: 12 kB / 413.5 MB, free: 14.64 MB / 394.7 MB Warning: Assuming fixed start value for the following 4 variables: skin.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real GILumen.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real core.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real 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 (31): * Single equations (assignments): 31 * 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 0.0001769/0.01184, allocations: 163.1 kB / 413.7 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.01187, allocations: 39.7 kB / 413.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.01193, allocations: 47.94 kB / 413.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01193, allocations: 0 / 413.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01194, allocations: 4 kB / 413.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01194, allocations: 0 / 413.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.01223, allocations: 324.4 kB / 414.1 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01223, allocations: 0 / 414.1 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.01244, allocations: 47.98 kB / 414.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01245, allocations: 0 / 414.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.01247, allocations: 19.86 kB / 414.2 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01247, allocations: 4 kB / 414.2 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01247, allocations: 0 / 414.2 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.01297, allocations: 468.3 kB / 414.6 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.01304, allocations: 51.77 kB / 414.7 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.01307, allocations: 4 kB / 414.7 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.01315, allocations: 8 kB / 414.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.01317, allocations: 11.97 kB / 414.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01318, allocations: 12 kB / 414.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.01332, allocations: 203.1 kB / 414.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01332, allocations: 0 / 414.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.01351, allocations: 95.84 kB / 415 MB, free: 13.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (core.relativeHeat,GILumen.relativeHeat,skeletalMuscle.relativeHeat,skin.relativeHeat) * 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 (27): * Single equations (assignments): 27 * 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.0006031/0.01412, allocations: 1.005 MB / 416 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.01439, allocations: 183.9 kB / 416.2 MB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01439, allocations: 0 / 416.2 MB, free: 11.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.01449, allocations: 99.91 kB / 416.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.01479, allocations: 57.11 kB / 416.3 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.0174, allocations: 2.916 MB / 419.3 MB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.01752, allocations: 180.8 kB / 419.4 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.303e-05/0.0176, allocations: 26.28 kB / 419.5 MB, free: 8.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.01771, allocations: 104.5 kB / 419.6 MB, free: 8.414 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01771, allocations: 4 kB / 419.6 MB, free: 8.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09564/0.1134, allocations: 7.067 MB / 426.6 MB, free: 1.504 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.575, allocations: 0 / 426.6 MB, free: 1.504 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe >> ../files/Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Thermal_Examples_ThermalBody_QHP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Thermal_Examples_ThermalBody_QHP.fmu) > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Bodylight_Bodylight_Thermal_Examples_ThermalBody_QHP.fmu) > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.848107381723821]