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.05365/0.05365, allocations: 11.15 MB / 31.01 MB, free: 4.762 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.000893/0.000893, allocations: 90.64 kB / 38.74 MB, free: 6.84 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.0009493/0.0009493, allocations: 166.3 kB / 42.15 MB, free: 3.508 MB / 33.03 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.9037/0.9037, allocations: 177.2 MB / 222.6 MB, free: 6.285 MB / 202.7 MB " [Timeout remaining time 179] 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.1847/0.1847, allocations: 17.63 MB / 296.7 MB, free: 1.191 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.313e-06/1.313e-06, allocations: 0 / 320.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.401e-05, allocations: 2.312 kB / 320.9 MB, free: 14.17 MB / 298.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.02599/0.02601, allocations: 33.62 MB / 354.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.02755, allocations: 0.8351 MB / 355.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.02771, allocations: 15.88 kB / 355.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.02788, allocations: 87.14 kB / 355.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.02812, allocations: 206.2 kB / 355.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.02828, allocations: 87.8 kB / 355.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.02865, allocations: 0.5906 MB / 356.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.02882, allocations: 117.3 kB / 356.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.02902, allocations: 283.4 kB / 356.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.02919, allocations: 155.5 kB / 356.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.02922, allocations: 36 kB / 356.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.958e-05/0.02926, allocations: 36 kB / 356.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.02931, allocations: 71.69 kB / 357 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.02942, allocations: 163.7 kB / 357.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.02967, allocations: 330.7 kB / 357.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.02968, allocations: 0 / 357.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.02968, allocations: 0 / 357.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.02968, allocations: 0 / 357.5 MB, free: 9.711 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.0005824/0.03026, allocations: 0.6479 MB / 358.1 MB, free: 9.039 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.03029, allocations: 8.031 kB / 358.1 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.03035, allocations: 52.89 kB / 358.2 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.03059, allocations: 265.5 kB / 358.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.03062, allocations: 29.02 kB / 358.5 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.03065, allocations: 24.38 kB / 358.5 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.03084, allocations: 187.3 kB / 358.7 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.03085, allocations: 4.188 kB / 358.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.03087, allocations: 12.38 kB / 358.7 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.03087, allocations: 11.94 kB / 358.7 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.03097, allocations: 72.55 kB / 358.8 MB, free: 8.352 MB / 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.0006691/0.03164, allocations: 0.5677 MB / 359.3 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.03179, allocations: 111.2 kB / 359.4 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.227e-05/0.03186, allocations: 69.22 kB / 359.5 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.03187, allocations: 4.234 kB / 359.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.03189, allocations: 42.73 kB / 359.6 MB, free: 7.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.213e-06/0.03189, allocations: 4 kB / 359.6 MB, free: 7.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002094/0.0321, allocations: 160.1 kB / 359.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.03213, allocations: 55.41 kB / 359.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.03226, allocations: 267 kB / 360 MB, free: 7.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.03227, allocations: 29.7 kB / 360.1 MB, free: 6.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.03233, allocations: 169.3 kB / 360.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.03238, allocations: 103 kB / 360.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.03243, allocations: 41.69 kB / 360.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.03251, allocations: 350.7 kB / 360.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.03254, allocations: 23.98 kB / 360.7 MB, free: 6.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.03258, allocations: 27.94 kB / 360.8 MB, free: 6.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.03271, allocations: 130 kB / 360.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.03272, allocations: 0 / 360.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001311/0.03285, allocations: 129.6 kB / 361 MB, free: 6.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.03286, allocations: 14.91 kB / 361 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.03286, allocations: 0 / 361 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.03287, allocations: 0 / 361 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.033, allocations: 51.91 kB / 361.1 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.03301, allocations: 4 kB / 361.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.03307, allocations: 19.84 kB / 361.1 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.03307, allocations: 8 kB / 361.1 MB, free: 5.91 MB / 330.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.0001226/0.0332, allocations: 153.8 kB / 361.3 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.03323, allocations: 23.97 kB / 361.3 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.03328, allocations: 51.89 kB / 361.3 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.03328, allocations: 4 kB / 361.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.03328, allocations: 0 / 361.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.03328, allocations: 4 kB / 361.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.03347, allocations: 201.6 kB / 361.5 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.03347, allocations: 0 / 361.5 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.0336, allocations: 51.91 kB / 361.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.0336, allocations: 0 / 361.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.03362, allocations: 11.94 kB / 361.6 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.03362, allocations: 0 / 361.6 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.03362, allocations: 3.938 kB / 361.6 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.03385, allocations: 288.5 kB / 361.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.03391, allocations: 39.75 kB / 361.9 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.03393, allocations: 7.984 kB / 361.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.034, allocations: 8 kB / 361.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.03402, allocations: 23.89 kB / 362 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.03403, allocations: 4 kB / 362 MB, free: 5.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.949e-05/0.03409, allocations: 96.62 kB / 362.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03409, allocations: 0 / 362.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.03427, allocations: 99.84 kB / 362.2 MB, free: 4.82 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 0.0002165/0.03449, allocations: 88.28 kB / 362.3 MB, free: 4.727 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.03461, allocations: 105 kB / 362.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.03462, allocations: 8 kB / 362.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.03467, allocations: 64.75 kB / 362.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.03493, allocations: 86.62 kB / 362.5 MB, free: 4.469 MB / 330.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/(kg.K): Unit not found Error: Error parsing unit kcal/(min.K): Unit not found Error: Error parsing unit kcal/g: Unit not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal/kg: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.03615, allocations: 0.7408 MB / 363.3 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.967e-05/0.0362, allocations: 96.3 kB / 363.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.472e-05/0.03627, allocations: 26.28 kB / 363.4 MB, free: 3.555 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.0364, allocations: 107.3 kB / 363.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.0364, allocations: 0 / 363.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of Templates: time 0.004819/0.04122, allocations: 3.448 MB / 366.9 MB, free: 72 kB / 330.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: 2.705415189731866]