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.001971/0.001971, 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.002115/0.002115, allocations: 169.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 1.732/1.732, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] 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.1172/0.1172, 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: translateModel(Bodylight.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP") translateModel(Bodylight.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 403.1 MB, free: 8.102 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.309e-05, allocations: 2.281 kB / 403.1 MB, free: 8.098 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.005764/0.005797, allocations: 3.554 MB / 406.6 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009175/0.006715, allocations: 426.4 kB / 407.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.00689, allocations: 11.94 kB / 407.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.007127, allocations: 71.22 kB / 407.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.007447, allocations: 174.4 kB / 407.3 MB, free: 3.859 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.007725, allocations: 99.78 kB / 407.4 MB, free: 3.762 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000693/0.008418, allocations: 0.5363 MB / 407.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.008732, allocations: 124.6 kB / 408.1 MB, free: 3.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.009084, allocations: 259.5 kB / 408.3 MB, free: 2.836 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.009392, allocations: 147.6 kB / 408.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.32e-05/0.009465, allocations: 32 kB / 408.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.009547, allocations: 32 kB / 408.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.00964, allocations: 75.67 kB / 408.6 MB, free: 2.555 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.009859, allocations: 151.7 kB / 408.7 MB, free: 2.406 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006532/0.01051, allocations: 438.6 kB / 409.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.01052, allocations: 0 / 409.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.01052, allocations: 0 / 409.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.01053, allocations: 0 / 409.2 MB, free: 1.977 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00126/0.01179, allocations: 0.6167 MB / 409.8 MB, free: 1.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.01184, allocations: 15.98 kB / 409.8 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.613e-05/0.01194, allocations: 52.59 kB / 409.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.01237, allocations: 249.6 kB / 410.1 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.01241, allocations: 21.03 kB / 410.1 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.01247, allocations: 24.38 kB / 410.1 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.01298, allocations: 250.7 kB / 410.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.01301, allocations: 4.188 kB / 410.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.01304, allocations: 8.375 kB / 410.4 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.01305, allocations: 12.38 kB / 410.4 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.01348, allocations: 194.4 kB / 410.6 MB, free: 496 kB / 330.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.1911/0.2046, allocations: 0.7375 MB / 411.3 MB, free: 21.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.2049, allocations: 196.8 kB / 411.5 MB, free: 21.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.2051, allocations: 119.8 kB / 411.6 MB, free: 21.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.2052, allocations: 6.484 kB / 411.7 MB, free: 21.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2052, allocations: 36.48 kB / 411.7 MB, free: 21.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.826e-06/0.2052, allocations: 2.328 kB / 411.7 MB, free: 21.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005667/0.2058, allocations: 305.1 kB / 412 MB, free: 21.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.2058, allocations: 62.25 kB / 412 MB, free: 21.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.206, allocations: 238.7 kB / 412.3 MB, free: 21.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.206, allocations: 30.8 kB / 412.3 MB, free: 20.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.2061, allocations: 187.4 kB / 412.5 MB, free: 20.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.2062, allocations: 97.17 kB / 412.6 MB, free: 20.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.2063, allocations: 41.92 kB / 412.6 MB, free: 20.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.506e-05/0.2063, allocations: 338.8 kB / 413 MB, free: 20.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2064, allocations: 69.95 kB / 413 MB, free: 20.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2066, allocations: 75.05 kB / 413.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.2076, allocations: 396.9 kB / 413.5 MB, free: 20.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2076, allocations: 0 / 413.5 MB, free: 20.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003798/0.208, allocations: 259.6 kB / 413.7 MB, free: 20.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.208, allocations: 9.062 kB / 413.8 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.208, allocations: 0 / 413.8 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2081, allocations: 3 kB / 413.8 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.2083, allocations: 49.31 kB / 413.8 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2083, allocations: 0.7031 kB / 413.8 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.2085, allocations: 19.64 kB / 413.8 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.2085, allocations: 8.812 kB / 413.8 MB, free: 20.09 MB / 330.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.0001768/0.2087, allocations: 151.7 kB / 414 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.2087, allocations: 33.27 kB / 414 MB, free: 19.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.2088, allocations: 51.05 kB / 414.1 MB, free: 19.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2088, allocations: 3.094 kB / 414.1 MB, free: 19.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2088, allocations: 0.5 kB / 414.1 MB, free: 19.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2088, allocations: 1.5 kB / 414.1 MB, free: 19.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.2091, allocations: 280.6 kB / 414.3 MB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2092, allocations: 2.016 kB / 414.3 MB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.2094, allocations: 50.06 kB / 414.4 MB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2094, allocations: 1.375 kB / 414.4 MB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.2094, allocations: 6 kB / 414.4 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2094, allocations: 7.469 kB / 414.4 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2094, allocations: 0 / 414.4 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.21, allocations: 458.8 kB / 414.9 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.2101, allocations: 48.92 kB / 414.9 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.2101, allocations: 7.188 kB / 414.9 MB, free: 19.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2103, allocations: 10.28 kB / 414.9 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.2103, allocations: 18.16 kB / 414.9 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2103, allocations: 8.875 kB / 414.9 MB, free: 19.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.2105, allocations: 169.4 kB / 415.1 MB, free: 19.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2105, allocations: 0 / 415.1 MB, free: 19.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.2108, allocations: 96.84 kB / 415.2 MB, free: 19.27 MB / 330.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 9.043e-05/0.2109, allocations: 99.59 kB / 415.3 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.2113, allocations: 189.8 kB / 415.5 MB, free: 19.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2113, allocations: 0 / 415.5 MB, free: 19.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.2114, allocations: 103.7 kB / 415.6 MB, free: 19.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.2118, allocations: 49.47 kB / 415.6 MB, free: 19.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2129, allocations: 0.7155 MB / 416.4 MB, free: 18.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.2131, allocations: 175.9 kB / 416.5 MB, free: 18.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.2132, allocations: 22.09 kB / 416.5 MB, free: 18.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.2132, allocations: 21.41 kB / 416.6 MB, free: 18.5 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2132, allocations: 0 / 416.6 MB, free: 18.5 MB / 330.7 MB Notification: Performance of Templates: time 0.006237/0.2195, allocations: 2.132 MB / 418.7 MB, free: 18.2 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.makefile [Timeout 660] (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 & ./Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.540696912910789]