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.09297/0.09297, allocations: 15.28 MB / 31.58 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.001054/0.001054, allocations: 107.6 kB / 36.58 MB, free: 3.172 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.001211/0.001211, allocations: 193.1 kB / 41.69 MB, free: 7.129 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.367/1.367, allocations: 222.9 MB / 269.5 MB, free: 6.855 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1489/0.1489, allocations: 23.36 MB / 347.2 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 107.8 kB / 479.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3572, allocations: 59.35 MB / 0.5262 GB, free: 8.09 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.03166/0.3889, allocations: 21.66 MB / 0.5474 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.39, allocations: 448 kB / 0.5478 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3901, allocations: 3.938 kB / 0.5478 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.3902, allocations: 17.55 kB / 0.5478 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.763e-05/0.3903, allocations: 45.36 kB / 0.5479 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.099e-05/0.3904, allocations: 11.61 kB / 0.5479 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.3905, allocations: 106.1 kB / 0.548 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3907, allocations: 27.64 kB / 0.548 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.3907, allocations: 42.52 kB / 0.5481 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.486e-05/0.3908, allocations: 35.33 kB / 0.5481 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3908, allocations: 8 kB / 0.5481 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.3909, allocations: 4 kB / 0.5481 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.3909, allocations: 10 kB / 0.5481 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.3909, allocations: 57.98 kB / 0.5482 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.3911, allocations: 92.33 kB / 0.5482 GB, free: 12.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3911, allocations: 0.6562 kB / 0.5483 GB, free: 12.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3911, allocations: 0 / 0.5483 GB, free: 12.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3911, allocations: 0 / 0.5483 GB, free: 12.71 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.0004486/0.3916, allocations: 407.1 kB / 0.5486 GB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3916, allocations: 8.031 kB / 0.5486 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.3917, allocations: 13.36 kB / 0.5487 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3919, allocations: 222.1 kB / 0.5489 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.3919, allocations: 384 / 0.5489 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.392, allocations: 4.375 kB / 0.5489 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.3921, allocations: 66.59 kB / 0.5489 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3921, allocations: 0.75 kB / 0.5489 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3921, allocations: 0 / 0.5489 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3921, allocations: 0 / 0.5489 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.16e-05/0.3922, allocations: 25.95 kB / 0.549 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.3927, allocations: 495.8 kB / 0.5494 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.981e-05/0.3928, allocations: 165.8 kB / 0.5496 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.3928, allocations: 80.14 kB / 0.5497 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3929, allocations: 75.28 kB / 0.5497 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.3929, allocations: 118.5 kB / 0.5499 GB, free: 10.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3929, allocations: 0 / 0.5499 GB, free: 10.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.8e-05/0.393, allocations: 38.31 kB / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3931, allocations: 134.6 kB / 0.55 GB, free: 10.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.3932, allocations: 183.1 kB / 0.5502 GB, free: 10.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.3933, allocations: 26.31 kB / 0.5502 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.3933, allocations: 112.2 kB / 0.5503 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.3934, allocations: 4 kB / 0.5503 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.3934, allocations: 9.719 kB / 0.5503 GB, free: 10.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3935, allocations: 323.5 kB / 0.5506 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.3935, allocations: 4 kB / 0.5507 GB, free: 10.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.3935, allocations: 4 kB / 0.5507 GB, free: 10.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/0.3936, allocations: 8.797 kB / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3936, allocations: 0 / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.391e-05/0.3937, allocations: 55.27 kB / 0.5507 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3937, allocations: 4 kB / 0.5507 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3937, allocations: 3.984 kB / 0.5507 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3937, allocations: 4.641 kB / 0.5507 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.3938, allocations: 7.938 kB / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3938, allocations: 0.6562 kB / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.748e-05/0.3938, allocations: 3.938 kB / 0.5507 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3938, allocations: 0 / 0.5507 GB, free: 10.01 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.37e-05/0.3939, allocations: 194.1 kB / 0.5509 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.394, allocations: 121.5 kB / 0.551 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.394, allocations: 116.1 kB / 0.5512 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.357e-05/0.3941, allocations: 192.8 kB / 0.5513 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.883e-05/0.3942, allocations: 181 kB / 0.5515 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.216e-05/0.3942, allocations: 181.2 kB / 0.5517 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.3945, allocations: 437.6 kB / 0.5521 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/0.3945, allocations: 101.7 kB / 0.5522 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.3946, allocations: 109.7 kB / 0.5523 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.146e-05/0.3947, allocations: 181.1 kB / 0.5525 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.3947, allocations: 177.1 kB / 0.5526 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-05/0.3948, allocations: 184.1 kB / 0.5528 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.707e-05/0.3949, allocations: 185.5 kB / 0.553 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.395, allocations: 313.8 kB / 0.5533 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.3951, allocations: 183.6 kB / 0.5535 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.3952, allocations: 184.8 kB / 0.5536 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3953, allocations: 109.6 kB / 0.5538 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.3954, allocations: 185.5 kB / 0.5539 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.3954, allocations: 105 kB / 0.554 GB, free: 6.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.3955, allocations: 131.8 kB / 0.5542 GB, free: 6.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3955, allocations: 0 / 0.5542 GB, free: 6.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.3958, allocations: 15.91 kB / 0.5542 GB, free: 6.312 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.732e-05/0.3959, allocations: 175.8 kB / 0.5543 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.172e-05/0.3959, allocations: 11.94 kB / 0.5543 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3959, allocations: 0 / 0.5543 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.396, allocations: 0 / 0.5543 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.3965, allocations: 0.5066 MB / 0.5548 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.3969, allocations: 294.3 kB / 0.5551 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3972, allocations: 0.6994 MB / 0.5558 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.3972, allocations: 11.44 kB / 0.5558 GB, free: 4.582 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3972, allocations: 4 kB / 0.5558 GB, free: 4.578 MB / 398.1 MB Notification: Performance of Templates: time 0.002967/0.4002, allocations: 1.462 MB / 0.5572 GB, free: 3.738 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)