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.09746/0.09746, allocations: 15.56 MB / 35.16 MB, free: 4.504 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.001307/0.001307, allocations: 110.9 kB / 42.74 MB, free: 6.18 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.001481/0.001481, allocations: 215.7 kB / 50.42 MB, free: 10.03 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.432/1.432, allocations: 230.6 MB / 288.6 MB, free: 6.336 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.1344/0.1344, allocations: 23.74 MB / 373.2 MB, free: 2.934 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: translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") [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.003431/0.003431, allocations: 120.7 kB / 0.5059 GB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2586, allocations: 63.85 MB / 0.5682 GB, free: 14.43 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.06555/0.3242, allocations: 22.98 MB / 0.5907 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.3252, allocations: 454.9 kB / 0.5911 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.3253, allocations: 7.938 kB / 0.5911 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.917e-05/0.3254, allocations: 11.86 kB / 0.5911 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.407e-05/0.3255, allocations: 47.56 kB / 0.5912 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.664e-05/0.3255, allocations: 15.98 kB / 0.5912 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.3257, allocations: 103.4 kB / 0.5913 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.3257, allocations: 21.3 kB / 0.5913 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.3258, allocations: 35.8 kB / 0.5913 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.3259, allocations: 35.8 kB / 0.5914 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3259, allocations: 4 kB / 0.5914 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.595e-05/0.3259, allocations: 4 kB / 0.5914 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.3259, allocations: 15.92 kB / 0.5914 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.326, allocations: 39.73 kB / 0.5914 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3261, allocations: 87.61 kB / 0.5915 GB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3261, allocations: 4 kB / 0.5915 GB, free: 6.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3261, allocations: 4 kB / 0.5915 GB, free: 6.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.3261, allocations: 0 / 0.5915 GB, free: 6.672 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.0004631/0.3266, allocations: 333.8 kB / 0.5918 GB, free: 6.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.3266, allocations: 8.031 kB / 0.5919 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.3266, allocations: 20.84 kB / 0.5919 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.3269, allocations: 162.2 kB / 0.592 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3269, allocations: 4.375 kB / 0.592 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.3269, allocations: 4.375 kB / 0.592 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.327, allocations: 69.92 kB / 0.5921 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.327, allocations: 0 / 0.5921 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.327, allocations: 0 / 0.5921 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.327, allocations: 0 / 0.5921 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.054e-05/0.3271, allocations: 23.94 kB / 0.5921 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.3275, allocations: 414.9 kB / 0.5925 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.026e-05/0.3276, allocations: 165.1 kB / 0.5927 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.3277, allocations: 84.14 kB / 0.5928 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.3277, allocations: 83.27 kB / 0.5928 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/0.3278, allocations: 113.8 kB / 0.5929 GB, free: 5.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3278, allocations: 0 / 0.5929 GB, free: 5.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.245e-05/0.3278, allocations: 33.66 kB / 0.593 GB, free: 5.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.3279, allocations: 126.7 kB / 0.5931 GB, free: 4.926 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3281, allocations: 166.3 kB / 0.5933 GB, free: 4.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3281, allocations: 25.7 kB / 0.5933 GB, free: 4.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.3282, allocations: 124 kB / 0.5934 GB, free: 4.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.3282, allocations: 0 / 0.5934 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.3282, allocations: 17.75 kB / 0.5934 GB, free: 4.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3283, allocations: 318.8 kB / 0.5937 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.3283, allocations: 8 kB / 0.5937 GB, free: 4.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-06/0.3283, allocations: 0 / 0.5937 GB, free: 4.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.3284, allocations: 16.8 kB / 0.5937 GB, free: 4.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3284, allocations: 0 / 0.5937 GB, free: 4.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.78e-05/0.3285, allocations: 37.66 kB / 0.5938 GB, free: 4.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3285, allocations: 4 kB / 0.5938 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-06/0.3285, allocations: 0 / 0.5938 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.3285, allocations: 4 kB / 0.5938 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.895e-05/0.3285, allocations: 0 / 0.5938 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3285, allocations: 8.031 kB / 0.5938 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.3286, allocations: 0 / 0.5938 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.3286, allocations: 0 / 0.5938 GB, free: 4.164 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.000111/0.3287, allocations: 197.1 kB / 0.594 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.3288, allocations: 116.8 kB / 0.5941 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.3288, allocations: 121.4 kB / 0.5942 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.459e-05/0.3289, allocations: 188.1 kB / 0.5944 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.125e-05/0.329, allocations: 180.2 kB / 0.5946 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.319e-05/0.329, allocations: 180.3 kB / 0.5947 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.3293, allocations: 380.8 kB / 0.5951 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-05/0.3293, allocations: 109 kB / 0.5952 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.3294, allocations: 104.9 kB / 0.5953 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-05/0.3294, allocations: 180.2 kB / 0.5955 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.3295, allocations: 184.3 kB / 0.5956 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.553e-05/0.3296, allocations: 180.2 kB / 0.5958 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.079e-05/0.3297, allocations: 176.3 kB / 0.596 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3298, allocations: 323.6 kB / 0.5963 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.3299, allocations: 112.9 kB / 0.5964 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.835e-05/0.33, allocations: 184.2 kB / 0.5966 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.3301, allocations: 104.9 kB / 0.5967 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.3301, allocations: 184.2 kB / 0.5969 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.3302, allocations: 116.9 kB / 0.597 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.617e-05/0.3303, allocations: 120.9 kB / 0.5971 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3303, allocations: 0 / 0.5971 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.3305, allocations: 16 kB / 0.5971 GB, free: 0.5898 MB / 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.0001116/0.3306, allocations: 163.1 kB / 0.5973 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.206e-05/0.3307, allocations: 7.938 kB / 0.5973 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3307, allocations: 0 / 0.5973 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3307, allocations: 0 / 0.5973 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.3313, allocations: 0.4968 MB / 0.5977 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.3317, allocations: 313.9 kB / 0.598 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.345e-05/0.3317, allocations: 84.19 kB / 0.5981 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.3318, allocations: 11.44 kB / 0.5981 GB, free: 15.46 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3318, allocations: 0 / 0.5981 GB, free: 15.46 MB / 430.1 MB Notification: Performance of Templates: time 0.002698/0.3345, allocations: 1.297 MB / 0.5994 GB, free: 14.17 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile [Timeout 660] (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.699690253008157] Failed to read output from testmodel.py, exit status != 0: 0.34238206781446934 0.355674115 0.026787072000000002 Calling exit ...