Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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 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) Running command: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009434/0.0009432, allocations: 81.61 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.5461/0.5461, allocations: 37.06 MB / 373.6 MB, free: 45.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.221e-05, allocations: 0 / 441.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 60.08 MB / 0.4899 GB, free: 3.195 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5195/0.6699, allocations: 91.07 MB / 0.5789 GB, free: 1.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.6704, allocations: 72.72 kB / 0.5789 GB, free: 1.508 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System core.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$core. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System skin.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$skin. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.009033/0.6794, allocations: 3.23 MB / 0.5821 GB, free: 14.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6795, allocations: 0 / 0.5821 GB, free: 14.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.6795, allocations: 0 / 0.5821 GB, free: 14.32 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006003/0.6801, allocations: 404.6 kB / 0.5825 GB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.875e-05/0.6802, allocations: 8.031 kB / 0.5825 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.511e-05/0.6803, allocations: 42.48 kB / 0.5825 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.6803, allocations: 19.75 kB / 0.5825 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.6808, allocations: 260 kB / 0.5828 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.6808, allocations: 4 kB / 0.5828 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.6809, allocations: 8 kB / 0.5828 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.681, allocations: 60.31 kB / 0.5829 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6811, allocations: 3.938 kB / 0.5829 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.6811, allocations: 0 / 0.5829 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6811, allocations: 0 / 0.5829 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.766e-05/0.6812, allocations: 24 kB / 0.5829 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007562/0.682, allocations: 0.4913 MB / 0.5834 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.6821, allocations: 165.1 kB / 0.5835 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.6822, allocations: 80.14 kB / 0.5836 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.673e-05/0.6822, allocations: 75.28 kB / 0.5837 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.752e-05/0.6823, allocations: 121.8 kB / 0.5838 GB, free: 12.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.825e-06/0.6823, allocations: 0 / 0.5838 GB, free: 12.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001167/0.6825, allocations: 49.45 kB / 0.5838 GB, free: 12.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.6826, allocations: 126.7 kB / 0.584 GB, free: 12.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.6828, allocations: 197.1 kB / 0.5841 GB, free: 12.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.6829, allocations: 25.7 kB / 0.5842 GB, free: 12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.683, allocations: 130 kB / 0.5843 GB, free: 11.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.683, allocations: 7.938 kB / 0.5843 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.683, allocations: 0 / 0.5843 GB, free: 11.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.6832, allocations: 330.8 kB / 0.5846 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.6832, allocations: 0 / 0.5846 GB, free: 11.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.6833, allocations: 0 / 0.5846 GB, free: 11.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.6833, allocations: 8 kB / 0.5846 GB, free: 11.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6833, allocations: 0 / 0.5846 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001411/0.6835, allocations: 53.44 kB / 0.5847 GB, free: 11.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.6835, allocations: 5.875 kB / 0.5847 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.6835, allocations: 11.94 kB / 0.5847 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.6835, allocations: 4.094 kB / 0.5847 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.6836, allocations: 0 / 0.5847 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6836, allocations: 0 / 0.5847 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.6837, allocations: 0 / 0.5847 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.6837, allocations: 4 kB / 0.5847 GB, free: 11.44 MB / 410.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.6838, allocations: 176.3 kB / 0.5849 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.683e-05/0.6839, allocations: 120.8 kB / 0.585 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.714e-05/0.684, allocations: 125.8 kB / 0.5851 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/0.6842, allocations: 184.2 kB / 0.5853 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001072/0.6843, allocations: 184.1 kB / 0.5855 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001054/0.6844, allocations: 180.2 kB / 0.5856 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.6848, allocations: 445.5 kB / 0.5861 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-05/0.6849, allocations: 108.9 kB / 0.5862 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.685, allocations: 113 kB / 0.5863 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.57e-05/0.6851, allocations: 180.2 kB / 0.5864 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/0.6852, allocations: 180.2 kB / 0.5866 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.831e-05/0.6853, allocations: 180.2 kB / 0.5868 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001101/0.6854, allocations: 184.8 kB / 0.587 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.6856, allocations: 319.6 kB / 0.5873 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.6857, allocations: 193.9 kB / 0.5874 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6858, allocations: 188.2 kB / 0.5876 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.6859, allocations: 101 kB / 0.5877 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/0.6861, allocations: 187.6 kB / 0.5879 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.6861, allocations: 108.9 kB / 0.588 GB, free: 7.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.6863, allocations: 169.4 kB / 0.5882 GB, free: 7.676 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.945e-06/0.6863, allocations: 0 / 0.5882 GB, free: 7.676 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.6866, allocations: 19.94 kB / 0.5882 GB, free: 7.656 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004836/0.6871, allocations: 0.8125 MB / 0.589 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.288e-05/0.6872, allocations: 3.938 kB / 0.589 GB, free: 6.809 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6872, allocations: 0 / 0.589 GB, free: 6.809 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.6872, allocations: 4 kB / 0.589 GB, free: 6.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008238/0.688, allocations: 0.5986 MB / 0.5896 GB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.6885, allocations: 267 kB / 0.5898 GB, free: 5.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.6889, allocations: 0.7205 MB / 0.5905 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.689, allocations: 21.75 kB / 0.5906 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.6891, allocations: 39.42 kB / 0.5906 GB, free: 5.105 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6891, allocations: 0 / 0.5906 GB, free: 5.105 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.7077, allocations: 3.872 MB / 0.5944 GB, free: 1.418 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.708, allocations: 163.5 kB / 0.5945 GB, free: 1.188 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.391, allocations: 0 / 0.5945 GB, free: 1.188 MB / 410.7 MB (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)