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.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1008/0.1008, allocations: 15.27 MB / 30.55 MB, free: 5.707 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008049/0.000805, allocations: 114.2 kB / 35.57 MB, free: 1.129 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 176.5 kB / 40.69 MB, free: 4.738 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 268.9 MB, free: 276 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1222/0.1222, allocations: 23.39 MB / 347.7 MB, free: 6.535 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004683, allocations: 15.98 kB / 420.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 60.46 MB / 480.8 MB, free: 36.39 MB / 350.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.0177/0.2677, allocations: 22.25 MB / 0.4912 GB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.2692, allocations: 0.7907 MB / 0.492 GB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.2694, allocations: 15.88 kB / 0.492 GB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.2695, allocations: 63.52 kB / 0.4921 GB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.2698, allocations: 174.5 kB / 0.4923 GB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.27, allocations: 71.94 kB / 0.4923 GB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000347/0.2703, allocations: 0.5519 MB / 0.4929 GB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.2705, allocations: 140.6 kB / 0.493 GB, free: 12.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.2706, allocations: 155.4 kB / 0.4931 GB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.2708, allocations: 191 kB / 0.4933 GB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.2709, allocations: 19.94 kB / 0.4934 GB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.2709, allocations: 16 kB / 0.4934 GB, free: 12.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.271, allocations: 59.72 kB / 0.4934 GB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.2711, allocations: 232.6 kB / 0.4936 GB, free: 11.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.2714, allocations: 430.2 kB / 0.4941 GB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2714, allocations: 0 / 0.4941 GB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2714, allocations: 4 kB / 0.4941 GB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2714, allocations: 0 / 0.4941 GB, free: 11.36 MB / 350.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.0007337/0.2721, allocations: 0.6583 MB / 0.4947 GB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2722, allocations: 8.031 kB / 0.4947 GB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.2722, allocations: 70.72 kB / 0.4948 GB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.2723, allocations: 48.38 kB / 0.4948 GB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.2726, allocations: 327.8 kB / 0.4951 GB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2726, allocations: 24.94 kB / 0.4952 GB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.2727, allocations: 28.38 kB / 0.4952 GB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.273, allocations: 253 kB / 0.4954 GB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.273, allocations: 7.891 kB / 0.4954 GB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.2731, allocations: 12 kB / 0.4954 GB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2731, allocations: 4 kB / 0.4955 GB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.2734, allocations: 190.2 kB / 0.4956 GB, free: 9.637 MB / 350.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.001178/0.2746, allocations: 1.543 MB / 0.4971 GB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.2749, allocations: 223.2 kB / 0.4974 GB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2751, allocations: 149.3 kB / 0.4975 GB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2751, allocations: 4.234 kB / 0.4975 GB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.2751, allocations: 38.8 kB / 0.4975 GB, free: 7.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.273e-06/0.2751, allocations: 0 / 0.4975 GB, free: 7.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.000488/0.2756, allocations: 311.8 kB / 0.4978 GB, free: 7.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.2756, allocations: 59.34 kB / 0.4979 GB, free: 7.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.2759, allocations: 321.7 kB / 0.4982 GB, free: 6.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2759, allocations: 25.7 kB / 0.4982 GB, free: 6.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.276, allocations: 204.6 kB / 0.4984 GB, free: 6.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.276, allocations: 94.72 kB / 0.4985 GB, free: 6.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2761, allocations: 29.7 kB / 0.4985 GB, free: 6.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.2761, allocations: 350.7 kB / 0.4989 GB, free: 6.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.2762, allocations: 63.98 kB / 0.4989 GB, free: 5.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.2764, allocations: 77.36 kB / 0.499 GB, free: 5.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/0.2773, allocations: 397.7 kB / 0.4994 GB, free: 5.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2773, allocations: 0 / 0.4994 GB, free: 5.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003202/0.2777, allocations: 253.5 kB / 0.4996 GB, free: 5.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2777, allocations: 4 kB / 0.4996 GB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2777, allocations: 7.984 kB / 0.4996 GB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2777, allocations: 0 / 0.4996 GB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.278, allocations: 51.92 kB / 0.4997 GB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.278, allocations: 0 / 0.4997 GB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.2781, allocations: 35.67 kB / 0.4997 GB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2782, allocations: 8 kB / 0.4997 GB, free: 5.16 MB / 350.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 = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skin.relativeHeat:VARIABLE(flow=false start = skin.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "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.0001782/0.2783, allocations: 167.6 kB / 0.4999 GB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.2784, allocations: 39.53 kB / 0.4999 GB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.918e-05/0.2785, allocations: 48.16 kB / 0.5 GB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2785, allocations: 4 kB / 0.5 GB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2785, allocations: 0 / 0.5 GB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2785, allocations: 7.922 kB / 0.5 GB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.2789, allocations: 405.2 kB / 0.5004 GB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2789, allocations: 0 / 0.5004 GB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.2791, allocations: 47.92 kB / 0.5004 GB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2791, allocations: 4 kB / 0.5004 GB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2792, allocations: 7.984 kB / 0.5004 GB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2792, allocations: 0 / 0.5004 GB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2792, allocations: 4 kB / 0.5004 GB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.2797, allocations: 474.9 kB / 0.5009 GB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.001e-05/0.2798, allocations: 128.6 kB / 0.501 GB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.2798, allocations: 8 kB / 0.501 GB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.28, allocations: 11.98 kB / 0.501 GB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.28, allocations: 15.98 kB / 0.501 GB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.28, allocations: 4 kB / 0.501 GB, free: 3.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.2802, allocations: 239.1 kB / 0.5013 GB, free: 3.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2802, allocations: 0 / 0.5013 GB, free: 3.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.2805, allocations: 99.75 kB / 0.5014 GB, free: 3.387 MB / 350.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.0005972/0.2811, allocations: 0.9969 MB / 0.5023 GB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.2814, allocations: 203.9 kB / 0.5025 GB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2814, allocations: 4 kB / 0.5025 GB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2815, allocations: 104.4 kB / 0.5026 GB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.2821, allocations: 95.73 kB / 0.5027 GB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.2852, allocations: 3.401 MB / 0.5061 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.2855, allocations: 0.7914 MB / 0.5068 GB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.2857, allocations: 30.97 kB / 0.5069 GB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.2858, allocations: 123.3 kB / 0.507 GB, free: 13.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2858, allocations: 3.938 kB / 0.507 GB, free: 13.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.3024, allocations: 6.941 MB / 0.5138 GB, free: 6.695 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.3026, allocations: 191.3 kB / 0.5139 GB, free: 6.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.121, allocations: 8 kB / 0.5139 GB, free: 6.43 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1)