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.08748/0.08748, allocations: 11.16 MB / 30.51 MB, free: 4.938 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.001422/0.001422, allocations: 103.7 kB / 38.15 MB, free: 7.199 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.001697/0.001697, allocations: 156.5 kB / 45.84 MB, free: 10.6 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.469/1.469, allocations: 177.1 MB / 230.6 MB, free: 6.004 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.1442/0.1442, allocations: 17.63 MB / 309.1 MB, free: 2.957 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.343e-06/1.343e-06, allocations: 0 / 390.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.184e-05, allocations: 6.25 kB / 390.4 MB, free: 1.539 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.03553/0.03555, allocations: 25.12 MB / 415.5 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.03751, allocations: 0.7827 MB / 416.3 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.03771, allocations: 15.88 kB / 416.3 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.03795, allocations: 87.14 kB / 416.4 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.03837, allocations: 210.1 kB / 416.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.0386, allocations: 83.88 kB / 416.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007088/0.03931, allocations: 0.5867 MB / 417.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.03958, allocations: 120.7 kB / 417.4 MB, free: 6.684 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.03995, allocations: 291.3 kB / 417.7 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.04023, allocations: 155.6 kB / 417.8 MB, free: 6.246 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.236e-05/0.0403, allocations: 32 kB / 417.9 MB, free: 6.215 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.04037, allocations: 32 kB / 417.9 MB, free: 6.184 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.04046, allocations: 75.69 kB / 418 MB, free: 6.109 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.04067, allocations: 163.6 kB / 418.1 MB, free: 5.949 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.04126, allocations: 462.5 kB / 418.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.04126, allocations: 0 / 418.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.04126, allocations: 0 / 418.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.04127, allocations: 4 kB / 418.6 MB, free: 5.492 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.001216/0.04249, allocations: 0.6644 MB / 419.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.04252, allocations: 8.031 kB / 419.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.04267, allocations: 80.61 kB / 419.3 MB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.04316, allocations: 277.5 kB / 419.6 MB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.0432, allocations: 21.03 kB / 419.6 MB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.04327, allocations: 36.33 kB / 419.7 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.0438, allocations: 250.7 kB / 419.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.04382, allocations: 192 / 419.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.04385, allocations: 12.38 kB / 419.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.04386, allocations: 15.88 kB / 419.9 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.04428, allocations: 194.5 kB / 420.1 MB, free: 3.887 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.001563/0.04584, allocations: 0.7501 MB / 420.9 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.04628, allocations: 199 kB / 421.1 MB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.04652, allocations: 124.5 kB / 421.2 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.04655, allocations: 12.17 kB / 421.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.04658, allocations: 30.8 kB / 421.2 MB, free: 2.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.253e-06/0.04658, allocations: 0 / 421.2 MB, free: 2.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007092/0.04729, allocations: 323.9 kB / 421.6 MB, free: 2.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002885/0.04758, allocations: 55.41 kB / 421.6 MB, free: 2.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.04791, allocations: 280.6 kB / 421.9 MB, free: 2.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.04794, allocations: 29.7 kB / 421.9 MB, free: 2.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.04813, allocations: 204.7 kB / 422.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.04824, allocations: 103.1 kB / 422.2 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.19e-05/0.04833, allocations: 41.7 kB / 422.3 MB, free: 1.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.04854, allocations: 346.8 kB / 422.6 MB, free: 1.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.0487, allocations: 67.98 kB / 422.7 MB, free: 1.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.04884, allocations: 73.44 kB / 422.7 MB, free: 1.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.05014, allocations: 397.6 kB / 423.1 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.05014, allocations: 0 / 423.1 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004981/0.05064, allocations: 273.3 kB / 423.4 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.05066, allocations: 8 kB / 423.4 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.05066, allocations: 0 / 423.4 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.05068, allocations: 4 kB / 423.4 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.05098, allocations: 55.86 kB / 423.5 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.05099, allocations: 7.984 kB / 423.5 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.05112, allocations: 15.89 kB / 423.5 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.05114, allocations: 8 kB / 423.5 MB, free: 440 kB / 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.0002544/0.0514, allocations: 165 kB / 423.6 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.593e-05/0.05148, allocations: 47.75 kB / 423.7 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.05159, allocations: 43.95 kB / 423.7 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.0516, allocations: 3.938 kB / 423.7 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.0516, allocations: 4 kB / 423.7 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.05161, allocations: 0 / 423.7 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.0521, allocations: 293 kB / 424 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.0521, allocations: 0 / 424 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.05239, allocations: 43.97 kB / 424.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/0.0524, allocations: 7.938 kB / 424.1 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.05242, allocations: 4 kB / 424.1 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.05242, allocations: 4 kB / 424.1 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.05242, allocations: 4 kB / 424.1 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.05321, allocations: 467.2 kB / 424.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.05333, allocations: 55.72 kB / 424.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.05338, allocations: 11.94 kB / 424.6 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.05354, allocations: 0 / 424.6 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.05358, allocations: 15.97 kB / 424.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.0536, allocations: 8 kB / 424.6 MB, free: 15.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.05382, allocations: 199.1 kB / 424.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05382, allocations: 0 / 424.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.0542, allocations: 99.84 kB / 424.9 MB, free: 14.93 MB / 394.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.0001248/0.05433, allocations: 103.2 kB / 425 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.05474, allocations: 191.8 kB / 425.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.05474, allocations: 0 / 425.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.05493, allocations: 95.91 kB / 425.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.0555, allocations: 86.23 kB / 425.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.05688, allocations: 0.7644 MB / 426.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.0571, allocations: 198.6 kB / 426.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.05723, allocations: 26.28 kB / 426.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.05732, allocations: 20.5 kB / 426.4 MB, free: 13.4 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.05732, allocations: 0 / 426.4 MB, free: 13.4 MB / 394.7 MB Notification: Performance of Templates: time 0.008072/0.06539, allocations: 3.17 MB / 429.6 MB, free: 10.3 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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.777637506951578]