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.08744/0.08744, allocations: 15.29 MB / 30.91 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.0009854/0.0009856, allocations: 103.8 kB / 35.9 MB, free: 3.199 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.001143/0.001143, allocations: 194.5 kB / 41.01 MB, free: 7.137 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.377/1.377, allocations: 222.9 MB / 268.9 MB, free: 6.949 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1247/0.1247, allocations: 23.35 MB / 346.6 MB, free: 0.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 115.8 kB / 478.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3177, allocations: 59.36 MB / 0.5256 GB, free: 8.102 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.03511/0.3529, allocations: 21.75 MB / 0.5468 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.354, allocations: 444.4 kB / 0.5472 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.3541, allocations: 7.938 kB / 0.5472 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.3542, allocations: 17.17 kB / 0.5473 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.3543, allocations: 45.73 kB / 0.5473 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.431e-05/0.3544, allocations: 11.66 kB / 0.5473 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3545, allocations: 106.3 kB / 0.5474 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.3547, allocations: 27.92 kB / 0.5474 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.3548, allocations: 37.78 kB / 0.5475 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.3548, allocations: 35.8 kB / 0.5475 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.3549, allocations: 4 kB / 0.5475 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.3549, allocations: 12 kB / 0.5475 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.3549, allocations: 9.391 kB / 0.5475 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.355, allocations: 49.89 kB / 0.5476 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.3552, allocations: 90.31 kB / 0.5477 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3552, allocations: 4.609 kB / 0.5477 GB, free: 12.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3552, allocations: 0 / 0.5477 GB, free: 12.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.3552, allocations: 0 / 0.5477 GB, free: 12.65 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.0004891/0.3557, allocations: 411.1 kB / 0.5481 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3557, allocations: 8.031 kB / 0.5481 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.3558, allocations: 21.41 kB / 0.5481 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.3561, allocations: 214.2 kB / 0.5483 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3561, allocations: 4.359 kB / 0.5483 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.3561, allocations: 4.375 kB / 0.5483 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3562, allocations: 66.69 kB / 0.5484 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3563, allocations: 0 / 0.5484 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3563, allocations: 0.5156 kB / 0.5484 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3563, allocations: 4 kB / 0.5484 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.3563, allocations: 26.05 kB / 0.5484 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.3568, allocations: 499.5 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.122e-05/0.3569, allocations: 165.9 kB / 0.549 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.357, allocations: 84.14 kB / 0.5491 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.357, allocations: 75.28 kB / 0.5492 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.3571, allocations: 110.4 kB / 0.5493 GB, free: 10.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3571, allocations: 0 / 0.5493 GB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.814e-05/0.3571, allocations: 42.5 kB / 0.5493 GB, free: 10.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.3572, allocations: 134.6 kB / 0.5495 GB, free: 10.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.3574, allocations: 187.5 kB / 0.5496 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3574, allocations: 25.7 kB / 0.5497 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.3575, allocations: 108.5 kB / 0.5498 GB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.3575, allocations: 0 / 0.5498 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.3575, allocations: 14.42 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3577, allocations: 322.3 kB / 0.5501 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.3577, allocations: 4 kB / 0.5501 GB, free: 10.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.3578, allocations: 0.5156 kB / 0.5501 GB, free: 10.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.3578, allocations: 16.86 kB / 0.5501 GB, free: 10.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3578, allocations: 0 / 0.5501 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001037/0.3579, allocations: 46.92 kB / 0.5502 GB, free: 9.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3579, allocations: 4.703 kB / 0.5502 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3579, allocations: 0 / 0.5502 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.3579, allocations: 0 / 0.5502 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.358, allocations: 8.688 kB / 0.5502 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.358, allocations: 0 / 0.5502 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.3581, allocations: 3.953 kB / 0.5502 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.3581, allocations: 0.75 kB / 0.5502 GB, free: 9.949 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.145e-05/0.3582, allocations: 193.2 kB / 0.5504 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.3582, allocations: 117.7 kB / 0.5505 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.3583, allocations: 120.5 kB / 0.5506 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001438/0.3584, allocations: 189.1 kB / 0.5508 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.103e-05/0.3585, allocations: 180.8 kB / 0.5509 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.873e-05/0.3586, allocations: 181.1 kB / 0.5511 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.3588, allocations: 437.5 kB / 0.5515 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-05/0.3589, allocations: 101.7 kB / 0.5516 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.3589, allocations: 105.6 kB / 0.5517 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-05/0.359, allocations: 184.9 kB / 0.5519 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.359, allocations: 181.5 kB / 0.5521 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.084e-05/0.3591, allocations: 184.8 kB / 0.5522 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.202e-05/0.3592, allocations: 176.8 kB / 0.5524 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.3594, allocations: 321.7 kB / 0.5527 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/0.3595, allocations: 184 kB / 0.5529 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/0.3596, allocations: 188.8 kB / 0.5531 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3597, allocations: 109.6 kB / 0.5532 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.3597, allocations: 189.3 kB / 0.5534 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.3598, allocations: 105.8 kB / 0.5535 GB, free: 6.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.3599, allocations: 135.3 kB / 0.5536 GB, free: 6.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3599, allocations: 0 / 0.5536 GB, free: 6.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.3601, allocations: 12 kB / 0.5536 GB, free: 6.246 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 0.0001064/0.3602, allocations: 175.1 kB / 0.5538 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.769e-05/0.3603, allocations: 8.641 kB / 0.5538 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3603, allocations: 0 / 0.5538 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.3603, allocations: 0 / 0.5538 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.3609, allocations: 0.5059 MB / 0.5543 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.3613, allocations: 280.2 kB / 0.5545 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3615, allocations: 0.7034 MB / 0.5552 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.432e-05/0.3616, allocations: 10.58 kB / 0.5552 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.3616, allocations: 12 kB / 0.5552 GB, free: 4.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3616, allocations: 0 / 0.5552 GB, free: 4.531 MB / 398.1 MB Notification: Performance of Templates: time 0.004067/0.3657, allocations: 1.535 MB / 0.5567 GB, free: 3.641 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)