Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.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.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08753/0.08753, allocations: 15.28 MB / 30.91 MB, free: 4.148 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.0009489/0.0009495, allocations: 115.8 kB / 35.92 MB, free: 3.18 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.00106/0.001061, allocations: 189.1 kB / 41.02 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.32/1.32, allocations: 222.9 MB / 268.9 MB, free: 6.938 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.122/0.122, allocations: 23.35 MB / 346.6 MB, free: 0.625 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 107.8 kB / 478.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3222, allocations: 59.35 MB / 0.5256 GB, free: 8.086 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.SkinHeatFlow): time 0.02977/0.352, allocations: 21.74 MB / 0.5468 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008785/0.3529, allocations: 433.4 kB / 0.5472 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.471e-05/0.353, allocations: 11.94 kB / 0.5472 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.3531, allocations: 16.64 kB / 0.5472 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.22e-05/0.3532, allocations: 41.61 kB / 0.5473 GB, free: 13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.8e-05/0.3533, allocations: 12.36 kB / 0.5473 GB, free: 13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.3535, allocations: 113.9 kB / 0.5474 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.3536, allocations: 27.58 kB / 0.5474 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.3536, allocations: 38.06 kB / 0.5475 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.3537, allocations: 35.84 kB / 0.5475 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.3537, allocations: 8 kB / 0.5475 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.3537, allocations: 4 kB / 0.5475 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.3537, allocations: 13.86 kB / 0.5475 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.3538, allocations: 53 kB / 0.5476 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3539, allocations: 88.14 kB / 0.5476 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.354, allocations: 4.641 kB / 0.5477 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.354, allocations: 4 kB / 0.5477 GB, free: 12.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.354, 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.0004392/0.3544, allocations: 415.1 kB / 0.5481 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3545, allocations: 12.03 kB / 0.5481 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.3545, allocations: 12.84 kB / 0.5481 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.3547, allocations: 214.3 kB / 0.5483 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3548, allocations: 8.312 kB / 0.5483 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.3548, allocations: 4.375 kB / 0.5483 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3549, allocations: 63.45 kB / 0.5484 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.3549, allocations: 0 / 0.5484 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3549, allocations: 8 kB / 0.5484 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3549, allocations: 0 / 0.5484 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/0.355, allocations: 26 kB / 0.5484 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.3554, allocations: 480.3 kB / 0.5488 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.3555, allocations: 169.1 kB / 0.549 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.3556, allocations: 88.08 kB / 0.5491 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3556, allocations: 75.94 kB / 0.5492 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3556, allocations: 105.8 kB / 0.5493 GB, free: 10.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3557, allocations: 0 / 0.5493 GB, free: 10.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.176e-05/0.3557, allocations: 42.88 kB / 0.5493 GB, free: 10.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.3558, allocations: 130.6 kB / 0.5494 GB, free: 10.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.356, allocations: 187.3 kB / 0.5496 GB, free: 10.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.356, allocations: 25.7 kB / 0.5496 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.3561, allocations: 116.4 kB / 0.5497 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.3561, allocations: 0 / 0.5497 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.3561, allocations: 13.72 kB / 0.5498 GB, free: 10.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.3562, allocations: 318.9 kB / 0.5501 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.3562, allocations: 7.938 kB / 0.5501 GB, free: 10.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.3562, allocations: 0 / 0.5501 GB, free: 10.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.3563, allocations: 17.67 kB / 0.5501 GB, free: 10.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3563, allocations: 0 / 0.5501 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.309e-05/0.3564, allocations: 42.97 kB / 0.5501 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3564, allocations: 4 kB / 0.5501 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3564, allocations: 0 / 0.5501 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3564, allocations: 0.7969 kB / 0.5501 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.48e-05/0.3565, allocations: 7.938 kB / 0.5501 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3565, allocations: 0 / 0.5501 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.3565, allocations: 0.6094 kB / 0.5501 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3565, allocations: 4.031 kB / 0.5501 GB, free: 9.961 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 8.191e-05/0.3566, allocations: 193.8 kB / 0.5503 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.3567, allocations: 121.4 kB / 0.5504 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.3567, allocations: 120.1 kB / 0.5506 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-05/0.3568, allocations: 196.8 kB / 0.5507 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.781e-05/0.3569, allocations: 180.9 kB / 0.5509 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.453e-05/0.3569, allocations: 185.3 kB / 0.5511 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.3571, allocations: 433.5 kB / 0.5515 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/0.3572, allocations: 101.6 kB / 0.5516 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.3572, allocations: 105.5 kB / 0.5517 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.951e-05/0.3572, allocations: 181.6 kB / 0.5519 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.3573, allocations: 184.9 kB / 0.5521 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.715e-05/0.3574, allocations: 185 kB / 0.5522 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.751e-05/0.3574, allocations: 181 kB / 0.5524 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.3575, allocations: 309.1 kB / 0.5527 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.3576, allocations: 200 kB / 0.5529 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.3577, allocations: 181.3 kB / 0.5531 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.3578, allocations: 109.5 kB / 0.5532 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.3578, allocations: 180.9 kB / 0.5533 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.3579, allocations: 105.5 kB / 0.5534 GB, free: 6.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.358, allocations: 139.9 kB / 0.5536 GB, free: 6.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.358, allocations: 0 / 0.5536 GB, free: 6.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.3582, allocations: 19.91 kB / 0.5536 GB, free: 6.242 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 8.544e-05/0.3583, allocations: 171.1 kB / 0.5538 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.394e-05/0.3584, allocations: 4.547 kB / 0.5538 GB, free: 6.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3584, allocations: 4 kB / 0.5538 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.3584, 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.0005106/0.3589, allocations: 0.4913 MB / 0.5542 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.3593, allocations: 276.5 kB / 0.5545 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3595, allocations: 0.6992 MB / 0.5552 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.3595, allocations: 11.09 kB / 0.5552 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.3596, allocations: 11.44 kB / 0.5552 GB, free: 4.547 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3596, allocations: 0 / 0.5552 GB, free: 4.547 MB / 398.1 MB Notification: Performance of Templates: time 0.003722/0.3633, allocations: 1.542 MB / 0.5567 GB, free: 3.656 MB / 398.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)