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.05656/0.05656, allocations: 11.16 MB / 30.25 MB, free: 5.082 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.0007309/0.0007309, allocations: 91.61 kB / 37.83 MB, free: 7.652 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.000981/0.000981, allocations: 156.6 kB / 45.51 MB, free: 68 kB / 33.03 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.8975/0.8975, 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.1936/0.1936, allocations: 17.62 MB / 308.7 MB, free: 1.738 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.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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 453.1 MB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.52e-05, allocations: 6.281 kB / 453.1 MB, free: 6.031 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.SkinHeatTransferOnBloodFlow): time 0.2819/0.2819, allocations: 23.25 MB / 476.3 MB, free: 42.66 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000717/0.2826, allocations: 450.9 kB / 476.8 MB, free: 42.56 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.2827, allocations: 7.125 kB / 476.8 MB, free: 42.56 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2828, allocations: 17.84 kB / 476.8 MB, free: 42.55 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.792e-05/0.2829, allocations: 49.94 kB / 476.9 MB, free: 42.53 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.007e-05/0.2829, allocations: 11.11 kB / 476.9 MB, free: 42.53 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.283, allocations: 121.7 kB / 477 MB, free: 42.48 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2832, allocations: 16.98 kB / 477 MB, free: 42.48 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.2832, allocations: 48.27 kB / 477.1 MB, free: 42.47 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.2833, allocations: 34.34 kB / 477.1 MB, free: 42.46 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.2833, allocations: 2.875 kB / 477.1 MB, free: 42.46 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.2833, allocations: 5.906 kB / 477.1 MB, free: 42.46 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.2833, allocations: 11.22 kB / 477.1 MB, free: 42.46 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.2834, allocations: 29.39 kB / 477.1 MB, free: 42.45 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.2835, allocations: 86.44 kB / 477.2 MB, free: 42.43 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2835, allocations: 3.938 kB / 477.2 MB, free: 42.43 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.906e-06/0.2835, allocations: 4 kB / 477.2 MB, free: 42.43 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2835, allocations: 0 / 477.2 MB, free: 42.43 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003824/0.2839, allocations: 337.9 kB / 477.6 MB, free: 42.13 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2839, allocations: 9.219 kB / 477.6 MB, free: 42.13 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.377e-05/0.2839, allocations: 34.62 kB / 477.6 MB, free: 42.09 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.284, allocations: 15.09 kB / 477.6 MB, free: 42.08 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.2841, allocations: 153.6 kB / 477.8 MB, free: 41.95 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.2841, allocations: 4.375 kB / 477.8 MB, free: 41.94 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.2842, allocations: 11.38 kB / 477.8 MB, free: 41.94 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.101e-05/0.2842, allocations: 64.59 kB / 477.8 MB, free: 41.9 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2842, allocations: 192 / 477.8 MB, free: 41.9 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2843, allocations: 4.125 kB / 477.8 MB, free: 41.9 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2843, allocations: 3.125 kB / 477.8 MB, free: 41.9 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.132e-05/0.2843, allocations: 20.38 kB / 477.9 MB, free: 41.9 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.2846, allocations: 456 kB / 478.3 MB, free: 41.49 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.2847, allocations: 165.1 kB / 478.5 MB, free: 41.32 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.063e-05/0.2847, allocations: 83.05 kB / 478.6 MB, free: 41.24 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.2847, allocations: 83.22 kB / 478.6 MB, free: 41.16 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.2847, allocations: 109.8 kB / 478.7 MB, free: 41.04 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2847, allocations: 0 / 478.7 MB, free: 41.04 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 4.994e-05/0.2847, allocations: 35.81 kB / 478.8 MB, free: 41.01 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.2848, allocations: 133.2 kB / 478.9 MB, free: 40.87 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.2849, allocations: 183.7 kB / 479.1 MB, free: 40.76 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-06/0.2849, allocations: 25.7 kB / 479.1 MB, free: 40.73 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.2849, allocations: 107.3 kB / 479.2 MB, free: 40.64 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.2849, allocations: 0 / 479.2 MB, free: 40.64 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.2849, allocations: 19.83 kB / 479.2 MB, free: 40.63 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.832e-05/0.285, allocations: 320.5 kB / 479.6 MB, free: 40.32 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.285, allocations: 4 kB / 479.6 MB, free: 40.31 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.285, allocations: 10.59 kB / 479.6 MB, free: 40.31 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.911e-05/0.285, allocations: 4.859 kB / 479.6 MB, free: 40.3 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.285, allocations: 112 / 479.6 MB, free: 40.3 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.372e-05/0.2851, allocations: 49.22 kB / 479.6 MB, free: 40.26 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2851, allocations: 9.094 kB / 479.6 MB, free: 40.26 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2851, allocations: 0 / 479.6 MB, free: 40.26 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.2851, allocations: 0 / 479.6 MB, free: 40.26 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.849e-05/0.2851, allocations: 4 kB / 479.6 MB, free: 40.26 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.2851, allocations: 7.156 kB / 479.6 MB, free: 40.25 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.2852, allocations: 7.891 kB / 479.6 MB, free: 40.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.2852, allocations: 0 / 479.6 MB, free: 40.25 MB / 410.8 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 4.732e-05/0.2852, allocations: 195.6 kB / 479.8 MB, free: 40.05 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.2852, allocations: 114.8 kB / 479.9 MB, free: 39.94 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.2853, allocations: 118.9 kB / 480.1 MB, free: 39.84 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.2853, allocations: 182.9 kB / 480.2 MB, free: 39.65 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.2853, allocations: 179.7 kB / 480.4 MB, free: 39.47 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.2853, allocations: 183.2 kB / 480.6 MB, free: 39.29 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.351e-05/0.2854, allocations: 406.8 kB / 481 MB, free: 38.88 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.2854, allocations: 109 kB / 481.1 MB, free: 38.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-06/0.2854, allocations: 104.9 kB / 481.2 MB, free: 38.66 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.2854, allocations: 178.9 kB / 481.4 MB, free: 38.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2854, allocations: 186.1 kB / 481.6 MB, free: 38.29 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.2854, allocations: 176.3 kB / 481.7 MB, free: 38.11 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/0.2854, allocations: 183 kB / 481.9 MB, free: 37.93 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.461e-05/0.2855, allocations: 318.7 kB / 482.2 MB, free: 37.61 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.2855, allocations: 111.9 kB / 482.3 MB, free: 37.5 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.2855, allocations: 186.2 kB / 482.5 MB, free: 37.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.933e-05/0.2856, allocations: 101 kB / 482.6 MB, free: 37.21 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.2856, allocations: 183.5 kB / 482.8 MB, free: 37.03 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.2856, allocations: 108.9 kB / 482.9 MB, free: 36.91 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.2857, allocations: 136.3 kB / 483 MB, free: 36.84 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2857, allocations: 0 / 483 MB, free: 36.84 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001429/0.2858, allocations: 16.22 kB / 483 MB, free: 36.84 MB / 410.8 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.0001461/0.2859, allocations: 0.8151 MB / 483.9 MB, free: 36.02 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 5.473e-05/0.286, allocations: 6.172 kB / 483.9 MB, free: 36.02 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.286, allocations: 0 / 483.9 MB, free: 36.02 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.286, allocations: 0 / 483.9 MB, free: 36.02 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.2863, allocations: 0.5075 MB / 484.4 MB, free: 35.56 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007483/0.2871, allocations: 1.644 MB / 486 MB, free: 34.2 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.11e-05/0.2871, allocations: 91.61 kB / 486.1 MB, free: 34.12 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.29e-05/0.2871, allocations: 14.83 kB / 486.1 MB, free: 34.11 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.2872, allocations: 27.61 kB / 486.2 MB, free: 34.1 MB / 410.8 MB Notification: Performance of SimCode: time 3.91e-07/0.2872, allocations: 0 / 486.2 MB, free: 34.1 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.3019, allocations: 3.948 MB / 490.1 MB, free: 32.93 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.298, allocations: 6.812 kB / 490.1 MB, free: 32.93 MB / 410.8 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.2911995081231] Failed to read output from testmodel.py, exit status != 0: 7.379117360338569 7.388767083 7.103322325 Calling exit ...