Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.1071/0.1071, allocations: 11.15 MB / 30.51 MB, free: 4.926 MB / 24.77 MB " [Timeout remaining time 180] 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.001864/0.001864, allocations: 91.31 kB / 38.15 MB, free: 7.379 MB / 33.03 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.002351/0.002351, allocations: 160.5 kB / 45.86 MB, free: 10.71 MB / 44.04 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.584/1.584, allocations: 177.2 MB / 230.6 MB, free: 6.379 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.2839/0.2839, allocations: 17.62 MB / 309.1 MB, free: 1.691 MB / 266.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 390.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.682e-05, allocations: 8.844 kB / 390.4 MB, free: 5.062 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.ThermalBody_QHP): time 0.03793/0.03796, allocations: 25.51 MB / 416 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.04, allocations: 0.8023 MB / 416.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.04022, allocations: 15.88 kB / 416.8 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.04045, allocations: 83.14 kB / 416.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.04084, allocations: 210.1 kB / 417.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.04107, allocations: 91.8 kB / 417.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000685/0.04176, allocations: 0.5828 MB / 417.7 MB, free: 9.848 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.04201, allocations: 116.7 kB / 417.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.04241, allocations: 295.3 kB / 418.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.04269, allocations: 147.6 kB / 418.3 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.04276, allocations: 36 kB / 418.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.04284, allocations: 36 kB / 418.3 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.04293, allocations: 71.69 kB / 418.4 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.04315, allocations: 175.6 kB / 418.6 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006266/0.04378, allocations: 458.5 kB / 419 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.04378, allocations: 0 / 419 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.04378, allocations: 4 kB / 419 MB, free: 8.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.04379, allocations: 0 / 419 MB, free: 8.527 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.00136/0.04515, allocations: 0.7874 MB / 419.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.0452, allocations: 12.03 kB / 419.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.04534, allocations: 72.61 kB / 419.9 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.04585, allocations: 288.3 kB / 420.2 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.04588, allocations: 21.03 kB / 420.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.04594, allocations: 36.31 kB / 420.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.04641, allocations: 238.7 kB / 420.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.04643, allocations: 4.188 kB / 420.5 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.04646, allocations: 16.31 kB / 420.5 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.04647, allocations: 15.94 kB / 420.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.04686, allocations: 182.5 kB / 420.7 MB, free: 6.801 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.001833/0.04869, allocations: 0.8587 MB / 421.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.04913, allocations: 219.5 kB / 421.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.04937, allocations: 128.1 kB / 421.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.04941, allocations: 8.172 kB / 421.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.04945, allocations: 41.62 kB / 421.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.914e-06/0.04945, allocations: 0 / 421.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.000662/0.05011, allocations: 316 kB / 422.3 MB, free: 5.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.05016, allocations: 55.41 kB / 422.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.05056, allocations: 370.3 kB / 422.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.05058, allocations: 25.7 kB / 422.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.05079, allocations: 263.3 kB / 422.9 MB, free: 4.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.0509, allocations: 103.2 kB / 423 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.051, allocations: 63.31 kB / 423.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003005/0.0513, allocations: 0.5274 MB / 423.6 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.05146, allocations: 59.98 kB / 423.7 MB, free: 3.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.05159, allocations: 71.97 kB / 423.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.05209, allocations: 278 kB / 424 MB, free: 3.324 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.05209, allocations: 4 kB / 424 MB, free: 3.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004694/0.05256, allocations: 257.4 kB / 424.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.05258, allocations: 8 kB / 424.3 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.05258, allocations: 0 / 424.3 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.0526, allocations: 3.938 kB / 424.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.05288, allocations: 55.91 kB / 424.4 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.05289, allocations: 4 kB / 424.4 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.05303, allocations: 19.84 kB / 424.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.05305, allocations: 4 kB / 424.4 MB, free: 2.969 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(flow=false start = core.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skin.relativeHeat:VARIABLE(flow=false start = skin.relativeHeat_start 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.0003005/0.05335, allocations: 221.3 kB / 424.6 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.05343, allocations: 43.75 kB / 424.6 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.05356, allocations: 43.95 kB / 424.7 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.05356, allocations: 4 kB / 424.7 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.05357, allocations: 0 / 424.7 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.05357, allocations: 3.984 kB / 424.7 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.05408, allocations: 344.3 kB / 425 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.05408, allocations: 8 kB / 425 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.05439, allocations: 43.92 kB / 425.1 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.05439, allocations: 3.938 kB / 425.1 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.05441, allocations: 8 kB / 425.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.05442, allocations: 0 / 425.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.05442, allocations: 7.984 kB / 425.1 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.05521, allocations: 0.4996 MB / 425.6 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.05533, allocations: 47.73 kB / 425.7 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.05538, allocations: 11.94 kB / 425.7 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.05554, allocations: 7.984 kB / 425.7 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.05559, allocations: 19.97 kB / 425.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.05561, allocations: 8 kB / 425.7 MB, free: 1.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002436/0.05585, allocations: 243 kB / 425.9 MB, free: 1.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05585, allocations: 3.938 kB / 425.9 MB, free: 1.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.05622, allocations: 99.84 kB / 426 MB, free: 1.258 MB / 378.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.0001196/0.05634, allocations: 99.23 kB / 426.1 MB, free: 1.152 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.05676, allocations: 211.8 kB / 426.3 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.05677, allocations: 0 / 426.3 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.05696, allocations: 115.5 kB / 426.5 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.05753, allocations: 87.8 kB / 426.5 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.0589, allocations: 0.7731 MB / 427.3 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.05912, allocations: 190.6 kB / 427.5 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.05924, allocations: 26.28 kB / 427.5 MB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.05932, allocations: 24.5 kB / 427.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.05932, allocations: 0 / 427.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of Templates: time 0.008417/0.06774, allocations: 3.181 MB / 430.7 MB, free: 12.57 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.055703926016577]