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/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.09277/0.09277, allocations: 15.55 MB / 34.41 MB, free: 4.496 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.00158/0.00158, allocations: 109.8 kB / 41.98 MB, free: 6.176 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.001685/0.001685, allocations: 221.2 kB / 49.68 MB, free: 10.02 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.538/1.538, allocations: 230.6 MB / 287.8 MB, free: 6.406 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.1553/0.1553, allocations: 23.73 MB / 372.4 MB, free: 2.949 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: "" <> 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"}) [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.003674/0.003674, allocations: 128.7 kB / 0.5047 GB, free: 15.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3289, allocations: 63.85 MB / 0.567 GB, free: 14.51 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.SkinHeatTransferOnBloodFlow): time 0.07072/0.3996, allocations: 22.99 MB / 0.5895 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.4007, allocations: 450.9 kB / 0.5899 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-05/0.4008, allocations: 3.938 kB / 0.5899 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.4009, allocations: 19.8 kB / 0.5899 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.401, allocations: 39.62 kB / 0.5899 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.986e-05/0.4011, allocations: 11.98 kB / 0.59 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.4013, allocations: 107.3 kB / 0.5901 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4014, allocations: 25.28 kB / 0.5901 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.535e-05/0.4014, allocations: 35.86 kB / 0.5901 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.4015, allocations: 31.8 kB / 0.5901 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.4015, allocations: 15.94 kB / 0.5902 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.4015, allocations: 4 kB / 0.5902 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.4016, allocations: 11.88 kB / 0.5902 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.4016, allocations: 35.81 kB / 0.5902 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.4018, allocations: 91.59 kB / 0.5903 GB, free: 6.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4018, allocations: 0 / 0.5903 GB, free: 6.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4018, allocations: 0 / 0.5903 GB, free: 6.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.4018, allocations: 0 / 0.5903 GB, free: 6.746 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005136/0.4023, allocations: 333.8 kB / 0.5906 GB, free: 6.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4023, allocations: 8.031 kB / 0.5906 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.4024, allocations: 46.67 kB / 0.5907 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.4024, allocations: 16.84 kB / 0.5907 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.4027, allocations: 154.3 kB / 0.5908 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4027, allocations: 4.375 kB / 0.5908 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.4027, allocations: 8.375 kB / 0.5908 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.4028, allocations: 69.73 kB / 0.5909 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.4028, allocations: 3.938 kB / 0.5909 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.4028, allocations: 4 kB / 0.5909 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4028, allocations: 0 / 0.5909 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.123e-05/0.4029, allocations: 27.88 kB / 0.5909 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.4034, allocations: 450.2 kB / 0.5914 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.4035, allocations: 169.1 kB / 0.5915 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.4036, allocations: 80.14 kB / 0.5916 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.4036, allocations: 79.28 kB / 0.5917 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.4037, allocations: 105.8 kB / 0.5918 GB, free: 5.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.986e-06/0.4037, allocations: 3.984 kB / 0.5918 GB, free: 5.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.527e-05/0.4037, allocations: 41.53 kB / 0.5918 GB, free: 5.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.4038, allocations: 138.7 kB / 0.592 GB, free: 4.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.404, allocations: 187 kB / 0.5921 GB, free: 4.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.404, allocations: 25.7 kB / 0.5922 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.4041, allocations: 108.1 kB / 0.5923 GB, free: 4.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.4041, allocations: 0 / 0.5923 GB, free: 4.547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.4042, allocations: 17.75 kB / 0.5923 GB, free: 4.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4043, allocations: 318.8 kB / 0.5926 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.4043, allocations: 8 kB / 0.5926 GB, free: 4.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-06/0.4043, allocations: 0 / 0.5926 GB, free: 4.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.817e-05/0.4044, allocations: 8.859 kB / 0.5926 GB, free: 4.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4044, allocations: 4.062 kB / 0.5926 GB, free: 4.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001185/0.4045, allocations: 57.53 kB / 0.5927 GB, free: 4.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4045, allocations: 4 kB / 0.5927 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.4045, allocations: 0 / 0.5927 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4045, allocations: 3.938 kB / 0.5927 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.4046, allocations: 4 kB / 0.5927 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4046, allocations: 0 / 0.5927 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.4046, allocations: 112 / 0.5927 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.4046, allocations: 3.938 kB / 0.5927 GB, free: 4.102 MB / 414.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.4047, allocations: 197.1 kB / 0.5929 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.4048, allocations: 120.8 kB / 0.593 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.982e-05/0.4049, allocations: 121.5 kB / 0.5931 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.021e-05/0.405, allocations: 180.2 kB / 0.5933 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.495e-05/0.4051, allocations: 184.2 kB / 0.5934 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.079e-05/0.4051, allocations: 180.2 kB / 0.5936 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.4054, allocations: 404.2 kB / 0.594 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/0.4055, allocations: 101 kB / 0.5941 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.4055, allocations: 101 kB / 0.5942 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.212e-05/0.4056, allocations: 184.2 kB / 0.5944 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.4057, allocations: 184.2 kB / 0.5946 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.703e-05/0.4058, allocations: 188.1 kB / 0.5947 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-05/0.4059, allocations: 184.2 kB / 0.5949 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.4061, allocations: 315.7 kB / 0.5952 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.4062, allocations: 116.9 kB / 0.5953 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.4063, allocations: 188.1 kB / 0.5955 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.4064, allocations: 108.9 kB / 0.5956 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.4065, allocations: 180.2 kB / 0.5958 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.4065, allocations: 108.9 kB / 0.5959 GB, free: 0.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.4066, allocations: 133.2 kB / 0.596 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4066, allocations: 0 / 0.596 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.4069, allocations: 12 kB / 0.596 GB, free: 496 kB / 414.1 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 () * Number of clocked 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 (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.0004983/0.4074, allocations: 0.8087 MB / 0.5968 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.325e-05/0.4075, allocations: 7.938 kB / 0.5968 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4075, allocations: 0 / 0.5968 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.4075, allocations: 0 / 0.5968 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.4081, allocations: 0.5041 MB / 0.5973 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.4097, allocations: 1.656 MB / 0.5989 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.09e-05/0.4098, allocations: 84.16 kB / 0.599 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.4098, allocations: 8.641 kB / 0.599 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.4099, allocations: 27.42 kB / 0.599 GB, free: 13.27 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4099, allocations: 4.094 kB / 0.599 GB, free: 13.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.4415, allocations: 3.83 MB / 0.6028 GB, free: 9.547 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.71, allocations: 7.938 kB / 0.6028 GB, free: 9.539 MB / 430.1 MB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.503847409971058] Failed to read output from testmodel.py, exit status != 0: 11.826308357995003 11.853574025 11.446747268 Calling exit ...