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.09941/0.09941, allocations: 15.56 MB / 34.4 MB, free: 4.52 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.001315/0.001315, allocations: 101.8 kB / 41.98 MB, free: 6.203 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.00154/0.00154, allocations: 223.5 kB / 49.68 MB, free: 10.05 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.51/1.51, allocations: 230.6 MB / 287.8 MB, free: 6.262 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.1573/0.1573, allocations: 23.73 MB / 372.4 MB, free: 2.938 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.003662/0.003662, allocations: 127.8 kB / 0.5051 GB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2879, allocations: 63.85 MB / 0.5675 GB, free: 14.48 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.07107/0.359, allocations: 22.98 MB / 0.5899 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3601, allocations: 450.8 kB / 0.5904 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.3602, allocations: 3.938 kB / 0.5904 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.3603, allocations: 15.86 kB / 0.5904 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.3604, allocations: 47.56 kB / 0.5904 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.925e-05/0.3604, allocations: 7.984 kB / 0.5904 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.3606, allocations: 107.4 kB / 0.5905 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3607, allocations: 21.28 kB / 0.5906 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.733e-05/0.3608, allocations: 47.73 kB / 0.5906 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.3609, allocations: 31.8 kB / 0.5906 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.3609, allocations: 8 kB / 0.5906 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.3609, allocations: 4 kB / 0.5906 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.3609, allocations: 7.938 kB / 0.5907 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.361, allocations: 39.81 kB / 0.5907 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.3611, allocations: 87.59 kB / 0.5908 GB, free: 6.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3611, allocations: 0 / 0.5908 GB, free: 6.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3611, allocations: 0 / 0.5908 GB, free: 6.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3611, allocations: 0 / 0.5908 GB, free: 6.73 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.0005084/0.3617, allocations: 333.8 kB / 0.5911 GB, free: 6.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3617, allocations: 12.03 kB / 0.5911 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.3617, allocations: 20.83 kB / 0.5911 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.362, allocations: 158.2 kB / 0.5913 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.362, allocations: 4.375 kB / 0.5913 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.362, allocations: 8.375 kB / 0.5913 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.3621, allocations: 65.81 kB / 0.5914 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3622, allocations: 4 kB / 0.5914 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3622, allocations: 8 kB / 0.5914 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3622, allocations: 0 / 0.5914 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.3622, allocations: 23.98 kB / 0.5914 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.3627, allocations: 406.9 kB / 0.5918 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.3628, allocations: 173.1 kB / 0.5919 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.3629, allocations: 80.14 kB / 0.592 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.3629, allocations: 75.28 kB / 0.5921 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.3629, allocations: 113.8 kB / 0.5922 GB, free: 5.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.3629, allocations: 0 / 0.5922 GB, free: 5.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.611e-05/0.363, allocations: 33.66 kB / 0.5922 GB, free: 5.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.3631, allocations: 130.7 kB / 0.5924 GB, free: 4.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3633, allocations: 166.3 kB / 0.5925 GB, free: 4.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3633, allocations: 25.7 kB / 0.5925 GB, free: 4.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.3634, allocations: 124 kB / 0.5927 GB, free: 4.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.3634, allocations: 0 / 0.5927 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.3634, allocations: 13.75 kB / 0.5927 GB, free: 4.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3636, allocations: 318.8 kB / 0.593 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.3636, allocations: 112 / 0.593 GB, free: 4.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.3636, allocations: 11.92 kB / 0.593 GB, free: 4.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.3636, allocations: 12.86 kB / 0.593 GB, free: 4.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3636, allocations: 4 kB / 0.593 GB, free: 4.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001055/0.3637, allocations: 41.66 kB / 0.593 GB, free: 4.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3637, allocations: 4 kB / 0.593 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.3637, allocations: 0 / 0.593 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3637, allocations: 0 / 0.593 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-05/0.3638, allocations: 4 kB / 0.593 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3638, allocations: 3.938 kB / 0.5931 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.3638, allocations: 7.953 kB / 0.5931 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.3638, allocations: 0 / 0.5931 GB, free: 4.211 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.0001184/0.364, allocations: 193.1 kB / 0.5932 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.364, allocations: 116.9 kB / 0.5934 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.3641, allocations: 117.3 kB / 0.5935 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.593e-05/0.3642, allocations: 184.2 kB / 0.5936 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.054e-05/0.3643, allocations: 188.2 kB / 0.5938 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-05/0.3643, allocations: 176.3 kB / 0.594 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.3646, allocations: 380.8 kB / 0.5944 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.216e-05/0.3646, allocations: 101 kB / 0.5944 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.3647, allocations: 108.9 kB / 0.5946 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.577e-05/0.3648, allocations: 184.2 kB / 0.5947 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.946e-05/0.3648, allocations: 180.3 kB / 0.5949 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.833e-05/0.3649, allocations: 192.1 kB / 0.5951 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.719e-05/0.365, allocations: 180.2 kB / 0.5953 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.3652, allocations: 319.6 kB / 0.5956 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.3652, allocations: 112.9 kB / 0.5957 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.3653, allocations: 180.2 kB / 0.5958 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3654, allocations: 105 kB / 0.5959 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.3655, allocations: 192.2 kB / 0.5961 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.3656, allocations: 104.9 kB / 0.5962 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3657, allocations: 124.9 kB / 0.5963 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3657, allocations: 0 / 0.5963 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.3659, allocations: 12 kB / 0.5964 GB, free: 0.6445 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.0001304/0.366, allocations: 171.1 kB / 0.5965 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.464e-05/0.3661, allocations: 3.938 kB / 0.5965 GB, free: 472 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3661, allocations: 4 kB / 0.5965 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.3661, allocations: 3.938 kB / 0.5965 GB, free: 464 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.3667, allocations: 0.4958 MB / 0.597 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.3672, allocations: 292.3 kB / 0.5973 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.031e-05/0.3673, allocations: 76.2 kB / 0.5974 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.3673, allocations: 8.422 kB / 0.5974 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.3673, allocations: 11.44 kB / 0.5974 GB, free: 15.54 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3673, allocations: 0 / 0.5974 GB, free: 15.54 MB / 430.1 MB Notification: Performance of Templates: time 0.004225/0.3716, allocations: 1.408 MB / 0.5988 GB, free: 14.16 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: 4.873710447922349] Failed to read output from testmodel.py, exit status != 0: 0.37993075139820576 0.39500854500000004 0.030748453000000002 Calling exit ...