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.0008229/0.0008229, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000982/0.001805, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007067/0.0007067, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009356/0.001642, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9237/0.9237, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08255/1.006, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.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.05386/0.05386, allocations: 12.74 MB / 256.9 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007801/0.06166, allocations: 4.842 MB / 261.7 MB, free: 13.13 MB / 266.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.272e-06/1.272e-06, allocations: 0 / 263 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.276e-05, allocations: 2.312 kB / 263 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.003256/0.003269, allocations: 4.009 MB / 267 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.004027, allocations: 450.2 kB / 267.5 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.004143, allocations: 11.94 kB / 267.5 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.004261, allocations: 95.08 kB / 267.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.004446, allocations: 186.3 kB / 267.7 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.004591, allocations: 91.86 kB / 267.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.004966, allocations: 0.5596 MB / 268.4 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.005143, allocations: 129.3 kB / 268.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.005405, allocations: 301.5 kB / 268.8 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.005594, allocations: 151.5 kB / 269 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.005639, allocations: 32 kB / 269 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.005688, allocations: 32 kB / 269 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.005733, allocations: 55.81 kB / 269.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.005837, allocations: 135.8 kB / 269.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.006104, allocations: 294.9 kB / 269.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.006116, allocations: 3.938 kB / 269.5 MB, free: 5.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006117, allocations: 0 / 269.5 MB, free: 5.324 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.006128, allocations: 0 / 269.5 MB, free: 5.324 MB / 266.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.0006799/0.006808, allocations: 0.6943 MB / 270.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.006842, allocations: 8.031 kB / 270.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.006911, allocations: 52.89 kB / 270.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.007398, allocations: 229.6 kB / 270.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.007427, allocations: 25.03 kB / 270.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.007485, allocations: 28.38 kB / 270.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.007696, allocations: 187.3 kB / 270.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.007707, allocations: 192 / 270.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.007724, allocations: 12.38 kB / 270.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.007731, allocations: 8.375 kB / 270.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.74e-05/0.007818, allocations: 72.5 kB / 270.8 MB, free: 3.961 MB / 266.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.00069/0.008508, allocations: 0.5708 MB / 271.4 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.008658, allocations: 115.2 kB / 271.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.928e-05/0.008727, allocations: 64.3 kB / 271.6 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.008742, allocations: 4.234 kB / 271.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.008765, allocations: 38.8 kB / 271.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.042e-06/0.008766, allocations: 0 / 271.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002213/0.008987, allocations: 156.1 kB / 271.7 MB, free: 2.977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.009013, allocations: 51.41 kB / 271.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.009128, allocations: 239 kB / 272 MB, free: 2.668 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.009144, allocations: 33.7 kB / 272.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.009202, allocations: 161.1 kB / 272.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.009259, allocations: 99.16 kB / 272.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.009312, allocations: 53.62 kB / 272.4 MB, free: 2.312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.009399, allocations: 338.8 kB / 272.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.00943, allocations: 19.98 kB / 272.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.009464, allocations: 25.47 kB / 272.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.00961, allocations: 133.7 kB / 272.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.009611, allocations: 0 / 272.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001272/0.009738, allocations: 137.5 kB / 273 MB, free: 1.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.00975, allocations: 11.94 kB / 273 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.009754, allocations: 0 / 273 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.009767, allocations: 7.938 kB / 273 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.009935, allocations: 59.97 kB / 273.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.00994, allocations: 7.984 kB / 273.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.009991, allocations: 11.89 kB / 273.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.009997, allocations: 7.938 kB / 273.1 MB, free: 1.551 MB / 266.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.0001264/0.01012, allocations: 139.8 kB / 273.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.01015, allocations: 23.98 kB / 273.3 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.0102, allocations: 42.98 kB / 273.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.0102, allocations: 3.938 kB / 273.3 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01021, allocations: 4 kB / 273.3 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01021, allocations: 3.984 kB / 273.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.01039, allocations: 189.6 kB / 273.5 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0104, allocations: 0 / 273.5 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.01054, allocations: 59.91 kB / 273.6 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.01058, allocations: 31.75 kB / 273.6 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01059, allocations: 11.98 kB / 273.6 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.0106, allocations: 4 kB / 273.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.0106, allocations: 3.938 kB / 273.6 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.0106, allocations: 0 / 273.6 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.01082, allocations: 283.6 kB / 273.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.01084, allocations: 4 kB / 273.9 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.0109, allocations: 4 kB / 273.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.01093, allocations: 23.94 kB / 273.9 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.01094, allocations: 7.984 kB / 273.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.01099, allocations: 80.64 kB / 274 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01099, allocations: 0 / 274 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.01115, allocations: 107.8 kB / 274.1 MB, free: 0.4922 MB / 266.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 6.427e-05/0.01122, allocations: 80.34 kB / 274.2 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.01136, allocations: 104.8 kB / 274.3 MB, free: 308 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.01137, allocations: 4 kB / 274.3 MB, free: 304 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.612e-05/0.01144, allocations: 88.91 kB / 274.4 MB, free: 212 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1007/0.1122, allocations: 344.3 kB / 274.7 MB, free: 7.129 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009673/0.1219, allocations: 0.6714 MB / 275.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.992e-05/0.1219, allocations: 93.59 kB / 275.5 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.951e-05/0.122, allocations: 23.55 kB / 275.5 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1221, allocations: 95.28 kB / 275.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of SimCode: time 1.753e-06/0.1221, allocations: 0 / 275.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of Templates: time 0.00496/0.1271, allocations: 2.57 MB / 278.2 MB, free: 6.492 MB / 266.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: 2.6748567670583725]