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.09112/0.09112, allocations: 15.55 MB / 35.16 MB, free: 4.508 MB / 26.18 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.001273/0.001273, allocations: 111 kB / 42.73 MB, free: 6.195 MB / 34.91 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.001482/0.001482, allocations: 218.3 kB / 50.43 MB, free: 10.03 MB / 34.91 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.455/1.455, allocations: 230.6 MB / 288.6 MB, free: 6.305 MB / 206.1 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.1368/0.1368, allocations: 23.73 MB / 373.2 MB, free: 2.926 MB / 286.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.003517/0.003517, allocations: 119.8 kB / 0.5059 GB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2646, allocations: 63.86 MB / 0.5682 GB, free: 14.42 MB / 398.1 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.06922/0.3338, allocations: 24.64 MB / 0.5923 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3357, allocations: 0.7867 MB / 0.5931 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.3359, allocations: 15.88 kB / 0.5931 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.3361, allocations: 83.14 kB / 0.5932 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.3364, allocations: 198.3 kB / 0.5934 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.3366, allocations: 87.89 kB / 0.5934 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.3372, allocations: 0.5559 MB / 0.594 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.3374, allocations: 112.7 kB / 0.5941 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.3376, allocations: 199.3 kB / 0.5943 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.3379, allocations: 183.1 kB / 0.5945 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.3379, allocations: 32 kB / 0.5945 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.338, allocations: 32 kB / 0.5945 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-05/0.3381, allocations: 79.69 kB / 0.5946 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.3383, allocations: 195.1 kB / 0.5948 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.3388, allocations: 470 kB / 0.5952 GB, free: 2.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3388, allocations: 0 / 0.5952 GB, free: 2.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3388, allocations: 0 / 0.5952 GB, free: 2.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3388, allocations: 0 / 0.5952 GB, free: 2.879 MB / 414.1 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.001064/0.3398, allocations: 0.6645 MB / 0.5959 GB, free: 2.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3399, allocations: 12.03 kB / 0.5959 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.34, allocations: 52.61 kB / 0.5959 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.3404, allocations: 278.2 kB / 0.5962 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3404, allocations: 17.03 kB / 0.5962 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.3405, allocations: 36.38 kB / 0.5963 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.3409, allocations: 254.4 kB / 0.5965 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3409, allocations: 0 / 0.5965 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.3409, allocations: 12 kB / 0.5965 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.341, allocations: 8 kB / 0.5965 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.3413, allocations: 190.5 kB / 0.5967 GB, free: 1.309 MB / 414.1 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.00133/0.3426, allocations: 0.7549 MB / 0.5974 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.343, allocations: 209.5 kB / 0.5976 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.3432, allocations: 117.2 kB / 0.5977 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3432, allocations: 8.234 kB / 0.5978 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3433, allocations: 38.8 kB / 0.5978 GB, free: 140 kB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.342e-06/0.3433, allocations: 0 / 0.5978 GB, free: 140 kB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006031/0.3439, allocations: 312.9 kB / 0.5981 GB, free: 15.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3439, allocations: 55.41 kB / 0.5981 GB, free: 15.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.3442, allocations: 272.6 kB / 0.5984 GB, free: 15.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3442, allocations: 29.7 kB / 0.5984 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3444, allocations: 208.6 kB / 0.5986 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.3444, allocations: 99.23 kB / 0.5987 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.512e-05/0.3445, allocations: 49.66 kB / 0.5988 GB, free: 15.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3447, allocations: 346.8 kB / 0.5991 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3448, allocations: 63.98 kB / 0.5992 GB, free: 14.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.345, allocations: 73.44 kB / 0.5992 GB, free: 14.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.3461, allocations: 401.4 kB / 0.5996 GB, free: 14.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3461, allocations: 0 / 0.5996 GB, free: 14.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004073/0.3465, allocations: 265.4 kB / 0.5999 GB, free: 13.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3465, allocations: 4 kB / 0.5999 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3465, allocations: 4 kB / 0.5999 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3465, allocations: 4 kB / 0.5999 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.3468, allocations: 47.92 kB / 0.5999 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3468, allocations: 3.984 kB / 0.5999 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.3469, allocations: 19.84 kB / 0.5999 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.3469, allocations: 8 kB / 0.6 GB, free: 13.86 MB / 430.1 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.0002269/0.3471, allocations: 171.6 kB / 0.6001 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.3472, allocations: 35.8 kB / 0.6002 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.667e-05/0.3473, allocations: 43.95 kB / 0.6002 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3473, allocations: 4 kB / 0.6002 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3473, allocations: 0 / 0.6002 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3473, allocations: 0 / 0.6002 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.3477, allocations: 300.9 kB / 0.6005 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.3477, allocations: 4 kB / 0.6005 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.348, allocations: 47.91 kB / 0.6005 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.348, allocations: 0 / 0.6005 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.348, allocations: 8 kB / 0.6005 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.348, allocations: 4 kB / 0.6005 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.348, allocations: 0 / 0.6005 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.3486, allocations: 463.2 kB / 0.601 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3487, allocations: 51.77 kB / 0.601 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.3488, allocations: 4 kB / 0.601 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3489, allocations: 4.094 kB / 0.601 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.349, allocations: 19.95 kB / 0.6011 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.349, allocations: 4 kB / 0.6011 GB, free: 12.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.3492, allocations: 203.1 kB / 0.6013 GB, free: 12.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3492, allocations: 0 / 0.6013 GB, free: 12.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.3495, allocations: 107.8 kB / 0.6014 GB, free: 12.36 MB / 430.1 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.0001038/0.3496, allocations: 95.25 kB / 0.6015 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003651/0.35, allocations: 183.9 kB / 0.6016 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.35, allocations: 0 / 0.6016 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.3501, allocations: 103.8 kB / 0.6017 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.3507, allocations: 93.42 kB / 0.6018 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.352, allocations: 0.8799 MB / 0.6027 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.3521, allocations: 186.8 kB / 0.6029 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.3522, allocations: 23.44 kB / 0.6029 GB, free: 10.75 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3522, allocations: 4 kB / 0.6029 GB, free: 10.75 MB / 430.1 MB Notification: Performance of Templates: time 0.006484/0.3587, allocations: 4.335 MB / 0.6071 GB, free: 6.41 MB / 430.1 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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.923254581168294] Failed to read output from testmodel.py, exit status != 0: 0.366710240021348 0.379922766 0.038356097000000006 Calling exit ...