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.0/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/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/Physiolibrary 3.0.0/package.mo", uses=false) 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.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) 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1033/0.1033, allocations: 15.28 MB / 31.59 MB, free: 4.121 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 106 kB / 36.59 MB, free: 3.176 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 193.1 kB / 41.69 MB, free: 7.125 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 269.5 MB, free: 6.879 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.136/0.136, allocations: 23.35 MB / 347.2 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 103.8 kB / 479.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2952, allocations: 59.36 MB / 0.5262 GB, free: 8.074 MB / 382.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.03013/0.3254, allocations: 21.66 MB / 0.5474 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009176/0.3263, allocations: 436.8 kB / 0.5478 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3264, allocations: 7.938 kB / 0.5478 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.3266, allocations: 17.06 kB / 0.5478 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.29e-05/0.3267, allocations: 38.55 kB / 0.5479 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.231e-05/0.3267, allocations: 15.42 kB / 0.5479 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3269, allocations: 110 kB / 0.548 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.327, allocations: 28.11 kB / 0.548 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.3271, allocations: 33.56 kB / 0.5481 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.3271, allocations: 43.59 kB / 0.5481 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3272, allocations: 4 kB / 0.5481 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.3272, allocations: 4 kB / 0.5481 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.3272, allocations: 14 kB / 0.5481 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.3273, allocations: 46.09 kB / 0.5482 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.3274, allocations: 96.45 kB / 0.5483 GB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3274, allocations: 0 / 0.5483 GB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3274, allocations: 0 / 0.5483 GB, free: 12.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.3275, allocations: 0 / 0.5483 GB, free: 12.7 MB / 398.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.000436/0.3279, allocations: 411.4 kB / 0.5486 GB, free: 12.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3279, allocations: 8.031 kB / 0.5487 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.328, allocations: 13.44 kB / 0.5487 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.3282, allocations: 229.8 kB / 0.5489 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3283, allocations: 384 / 0.5489 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3283, allocations: 4.375 kB / 0.5489 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3284, allocations: 63.31 kB / 0.5489 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3284, allocations: 3.984 kB / 0.549 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3284, allocations: 4 kB / 0.549 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3285, allocations: 0 / 0.549 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.239e-05/0.3285, allocations: 26.14 kB / 0.549 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.329, allocations: 480.4 kB / 0.5494 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.91e-05/0.3291, allocations: 177.1 kB / 0.5496 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.3291, allocations: 80.14 kB / 0.5497 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3292, allocations: 75.94 kB / 0.5498 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.3292, allocations: 105.8 kB / 0.5499 GB, free: 10.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3292, allocations: 0 / 0.5499 GB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.761e-05/0.3293, allocations: 42.27 kB / 0.5499 GB, free: 10.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3294, allocations: 139.3 kB / 0.55 GB, free: 10.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.3296, allocations: 182.8 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3296, allocations: 30.16 kB / 0.5502 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.3297, allocations: 108.2 kB / 0.5503 GB, free: 10.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.3297, allocations: 0 / 0.5503 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.3297, allocations: 13.72 kB / 0.5504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3298, allocations: 318.9 kB / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.3298, allocations: 12 kB / 0.5507 GB, free: 10.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-06/0.3299, allocations: 0.75 kB / 0.5507 GB, free: 10.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.3299, allocations: 8.859 kB / 0.5507 GB, free: 10.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3299, allocations: 0 / 0.5507 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001025/0.33, allocations: 42.97 kB / 0.5507 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.33, allocations: 8 kB / 0.5507 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.33, allocations: 4.75 kB / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3301, allocations: 0 / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.3301, allocations: 7.875 kB / 0.5507 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3301, allocations: 4.75 kB / 0.5507 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.3302, allocations: 7.938 kB / 0.5507 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3302, allocations: 0 / 0.5507 GB, free: 9.992 MB / 398.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 9.392e-05/0.3303, allocations: 189.9 kB / 0.5509 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.3304, allocations: 113.5 kB / 0.551 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.3304, allocations: 116.6 kB / 0.5511 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.208e-05/0.3305, allocations: 197 kB / 0.5513 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.744e-05/0.3305, allocations: 184.2 kB / 0.5515 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-05/0.3306, allocations: 181 kB / 0.5517 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.3309, allocations: 433.8 kB / 0.5521 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.315e-05/0.3309, allocations: 109.7 kB / 0.5522 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.331, allocations: 101.7 kB / 0.5523 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.507e-05/0.331, allocations: 185.2 kB / 0.5525 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/0.3311, allocations: 185 kB / 0.5527 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.368e-05/0.3312, allocations: 181 kB / 0.5528 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.325e-05/0.3312, allocations: 181 kB / 0.553 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.3314, allocations: 313.4 kB / 0.5533 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.3314, allocations: 192 kB / 0.5535 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.3315, allocations: 176.9 kB / 0.5536 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.3316, allocations: 113.7 kB / 0.5538 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.3317, allocations: 180.9 kB / 0.5539 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.3317, allocations: 101.7 kB / 0.554 GB, free: 6.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.3318, allocations: 139.3 kB / 0.5542 GB, free: 6.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3318, allocations: 0 / 0.5542 GB, free: 6.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.3321, allocations: 15.91 kB / 0.5542 GB, free: 6.297 MB / 398.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 9.313e-05/0.3322, allocations: 175.2 kB / 0.5543 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.506e-05/0.3322, allocations: 8.562 kB / 0.5544 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3322, allocations: 0 / 0.5544 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.3323, allocations: 4 kB / 0.5544 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.3328, allocations: 0.4961 MB / 0.5548 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.3332, allocations: 301.8 kB / 0.5551 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.3334, allocations: 0.7032 MB / 0.5558 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.3335, allocations: 11.44 kB / 0.5558 GB, free: 4.562 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3335, allocations: 0 / 0.5558 GB, free: 4.562 MB / 398.1 MB Notification: Performance of Templates: time 0.00337/0.3368, allocations: 1.448 MB / 0.5572 GB, free: 3.73 MB / 398.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile (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)