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.05454/0.05454, allocations: 11.16 MB / 30.25 MB, free: 5.086 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.0007401/0.0007401, allocations: 91.72 kB / 37.83 MB, free: 7.48 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.001017/0.001017, allocations: 160.6 kB / 45.51 MB, free: 10.92 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 0.8717/0.8717, allocations: 177.1 MB / 230.2 MB, free: 6.547 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.1964/0.1964, allocations: 17.62 MB / 308.7 MB, free: 1.727 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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 453.1 MB, free: 6.012 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.063e-05, allocations: 6.281 kB / 453.1 MB, free: 6.004 MB / 410.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.2953/0.2953, allocations: 24.89 MB / 478 MB, free: 41.96 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2968, allocations: 0.7898 MB / 478.8 MB, free: 41.84 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.297, allocations: 14.12 kB / 478.8 MB, free: 41.84 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.2971, allocations: 87.8 kB / 478.9 MB, free: 41.79 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.2973, allocations: 203.9 kB / 479.1 MB, free: 41.71 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.2975, allocations: 94.28 kB / 479.2 MB, free: 41.71 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.2978, allocations: 0.5861 MB / 479.8 MB, free: 41.49 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.298, allocations: 116.5 kB / 479.9 MB, free: 41.46 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.2982, allocations: 292.6 kB / 480.2 MB, free: 41.44 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.2983, allocations: 149.9 kB / 480.3 MB, free: 41.42 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.2983, allocations: 34.34 kB / 480.3 MB, free: 41.42 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.652e-05/0.2984, allocations: 30.72 kB / 480.4 MB, free: 41.42 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.2984, allocations: 76.66 kB / 480.5 MB, free: 41.41 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.494e-05/0.2985, allocations: 161.8 kB / 480.6 MB, free: 41.39 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.2988, allocations: 463.7 kB / 481.1 MB, free: 41.26 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2988, allocations: 0 / 481.1 MB, free: 41.26 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2988, allocations: 4 kB / 481.1 MB, free: 41.25 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2988, allocations: 0 / 481.1 MB, free: 41.25 MB / 410.8 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.0006177/0.2994, allocations: 0.6611 MB / 481.7 MB, free: 40.78 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2995, allocations: 13.62 kB / 481.7 MB, free: 40.77 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.2995, allocations: 67 kB / 481.8 MB, free: 40.71 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.2996, allocations: 51.08 kB / 481.9 MB, free: 40.69 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.2998, allocations: 282.1 kB / 482.1 MB, free: 40.47 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.2999, allocations: 21.78 kB / 482.2 MB, free: 40.46 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.2999, allocations: 32.45 kB / 482.2 MB, free: 40.45 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.3002, allocations: 246.7 kB / 482.4 MB, free: 40.33 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3002, allocations: 192 / 482.4 MB, free: 40.33 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.3002, allocations: 19.31 kB / 482.4 MB, free: 40.32 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3002, allocations: 6.312 kB / 482.4 MB, free: 40.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.3004, allocations: 192 kB / 482.6 MB, free: 40.25 MB / 410.8 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.0008759/0.3013, allocations: 0.8104 MB / 483.4 MB, free: 39.77 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.3015, allocations: 203.5 kB / 483.6 MB, free: 39.68 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.3017, allocations: 125.5 kB / 483.8 MB, free: 39.62 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3017, allocations: 6.812 kB / 483.8 MB, free: 39.61 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.3017, allocations: 33.08 kB / 483.8 MB, free: 39.57 MB / 410.8 MB Notification: Performance of pre-optimization done (n=27): time 1.222e-06/0.3017, allocations: 0 / 483.8 MB, free: 39.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=27): time 0.0004158/0.3021, allocations: 316.8 kB / 484.1 MB, free: 39.43 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.3021, allocations: 54.72 kB / 484.2 MB, free: 39.36 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.3024, allocations: 325.9 kB / 484.5 MB, free: 39.2 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.3024, allocations: 30.86 kB / 484.5 MB, free: 39.16 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.3024, allocations: 201.2 kB / 484.7 MB, free: 39 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.3025, allocations: 96.31 kB / 484.8 MB, free: 38.92 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.3025, allocations: 44.75 kB / 484.9 MB, free: 38.89 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.3026, allocations: 348.9 kB / 485.2 MB, free: 38.56 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.112e-05/0.3027, allocations: 62.03 kB / 485.3 MB, free: 38.54 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.3027, allocations: 71.69 kB / 485.3 MB, free: 38.51 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.3034, allocations: 409 kB / 485.7 MB, free: 38.35 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3034, allocations: 7.938 kB / 485.7 MB, free: 38.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002564/0.3037, allocations: 259.1 kB / 486 MB, free: 38.21 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3037, allocations: 5.438 kB / 486 MB, free: 38.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3037, allocations: 0 / 486 MB, free: 38.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3037, allocations: 1.406 kB / 486 MB, free: 38.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3039, allocations: 50.41 kB / 486 MB, free: 38.21 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3039, allocations: 2.188 kB / 486 MB, free: 38.21 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.304, allocations: 28.03 kB / 486.1 MB, free: 38.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.304, allocations: 9.562 kB / 486.1 MB, free: 38.18 MB / 410.8 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.000166/0.3041, allocations: 168.2 kB / 486.2 MB, free: 38.03 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.3042, allocations: 37.95 kB / 486.3 MB, free: 38.01 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.3042, allocations: 44.45 kB / 486.3 MB, free: 37.98 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3042, allocations: 3.719 kB / 486.3 MB, free: 37.98 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3042, allocations: 0 / 486.3 MB, free: 37.98 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3042, allocations: 3.422 kB / 486.3 MB, free: 37.98 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3045, allocations: 338.6 kB / 486.7 MB, free: 37.74 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3045, allocations: 5.125 kB / 486.7 MB, free: 37.74 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.3046, allocations: 43.61 kB / 486.7 MB, free: 37.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3046, allocations: 4.547 kB / 486.7 MB, free: 37.73 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3047, allocations: 5.188 kB / 486.7 MB, free: 37.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3047, allocations: 1.406 kB / 486.7 MB, free: 37.73 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3047, allocations: 0 / 486.7 MB, free: 37.73 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.3051, allocations: 475.3 kB / 487.2 MB, free: 37.44 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.3052, allocations: 55.84 kB / 487.2 MB, free: 37.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3052, allocations: 5.094 kB / 487.2 MB, free: 37.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.3053, allocations: 9.125 kB / 487.3 MB, free: 37.39 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.3053, allocations: 15.86 kB / 487.3 MB, free: 37.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3053, allocations: 17.09 kB / 487.3 MB, free: 37.38 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001297/0.3054, allocations: 230.6 kB / 487.5 MB, free: 37.26 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3054, allocations: 0 / 487.5 MB, free: 37.26 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002245/0.3057, allocations: 91.23 kB / 487.6 MB, free: 37.25 MB / 410.8 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.0004951/0.3062, allocations: 1.007 MB / 488.6 MB, free: 36.42 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3064, allocations: 187.7 kB / 488.8 MB, free: 36.35 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3064, allocations: 1.406 kB / 488.8 MB, free: 36.35 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3065, allocations: 96.42 kB / 488.9 MB, free: 36.32 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3069, allocations: 103.5 kB / 489 MB, free: 36.28 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.3091, allocations: 3.115 MB / 492.1 MB, free: 34.29 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.3092, allocations: 188.8 kB / 492.3 MB, free: 34.2 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.045e-05/0.3093, allocations: 36.94 kB / 492.3 MB, free: 34.18 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3094, allocations: 117.3 kB / 492.4 MB, free: 34.09 MB / 410.8 MB Notification: Performance of SimCode: time 5.82e-07/0.3094, allocations: 1.156 kB / 492.4 MB, free: 34.09 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.3307, allocations: 8.585 MB / 0.4893 GB, free: 32.43 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.381, allocations: 12.16 kB / 0.4893 GB, free: 32.42 MB / 410.8 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.35941796284169] Failed to read output from testmodel.py, exit status != 0: 7.466891959309578 7.475684406 7.174728538 Calling exit ...