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.09624/0.09624, allocations: 15.27 MB / 30.9 MB, free: 4.156 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.001133/0.001134, allocations: 104.9 kB / 35.91 MB, free: 3.195 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.001304/0.001304, allocations: 190.5 kB / 41.01 MB, free: 7.141 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.517/1.517, allocations: 222.9 MB / 268.9 MB, free: 6.871 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1367/0.1367, allocations: 23.35 MB / 346.6 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 107.8 kB / 478.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3179, allocations: 59.36 MB / 0.5256 GB, free: 8.098 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.03804/0.3559, allocations: 21.76 MB / 0.5468 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.3569, allocations: 436.6 kB / 0.5472 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.357, allocations: 7.938 kB / 0.5472 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.3571, allocations: 17.73 kB / 0.5472 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.859e-05/0.3572, allocations: 48.98 kB / 0.5473 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.159e-05/0.3573, allocations: 8.641 kB / 0.5473 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3575, allocations: 113.6 kB / 0.5474 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3576, allocations: 28 kB / 0.5474 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.3576, allocations: 38.16 kB / 0.5475 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.3577, allocations: 35.14 kB / 0.5475 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3577, allocations: 4 kB / 0.5475 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.764e-05/0.3578, allocations: 4 kB / 0.5475 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.3578, allocations: 18.19 kB / 0.5475 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.3579, allocations: 52.95 kB / 0.5476 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.358, allocations: 94.62 kB / 0.5477 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.358, allocations: 0 / 0.5477 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.3581, allocations: 4 kB / 0.5477 GB, free: 12.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3581, allocations: 0.7031 kB / 0.5477 GB, free: 12.63 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.0004747/0.3585, allocations: 411 kB / 0.5481 GB, free: 12.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3586, allocations: 8.031 kB / 0.5481 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.3586, allocations: 16.84 kB / 0.5481 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.3589, allocations: 214.5 kB / 0.5483 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3589, allocations: 4.375 kB / 0.5483 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.3589, allocations: 4.375 kB / 0.5483 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.359, allocations: 63.03 kB / 0.5484 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.3591, allocations: 3.938 kB / 0.5484 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3591, allocations: 0 / 0.5484 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3591, allocations: 0.5156 kB / 0.5484 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.3591, allocations: 26.05 kB / 0.5484 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.3596, allocations: 492 kB / 0.5489 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.937e-05/0.3597, allocations: 169.1 kB / 0.549 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.3598, allocations: 80.8 kB / 0.5491 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3598, allocations: 75.28 kB / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.3598, allocations: 110.5 kB / 0.5493 GB, free: 10.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.856e-06/0.3598, allocations: 0 / 0.5493 GB, free: 10.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.145e-05/0.3599, allocations: 50.14 kB / 0.5493 GB, free: 10.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.36, allocations: 130.6 kB / 0.5495 GB, free: 10.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.3602, allocations: 183.7 kB / 0.5496 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3602, allocations: 25.7 kB / 0.5497 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3603, allocations: 115.9 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3603, allocations: 0 / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.3603, allocations: 14.33 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.3604, allocations: 318.5 kB / 0.5501 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.3604, allocations: 4.797 kB / 0.5501 GB, free: 10.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.3604, allocations: 0 / 0.5501 GB, free: 10.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/0.3605, allocations: 16.8 kB / 0.5501 GB, free: 10 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3605, allocations: 0 / 0.5501 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.877e-05/0.3606, allocations: 47.08 kB / 0.5501 GB, free: 9.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3606, allocations: 4.703 kB / 0.5502 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3606, allocations: 0 / 0.5502 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3606, allocations: 0 / 0.5502 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.817e-05/0.3607, allocations: 8.5 kB / 0.5502 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3607, allocations: 0 / 0.5502 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.958e-05/0.3607, allocations: 7.953 kB / 0.5502 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.3607, allocations: 0.75 kB / 0.5502 GB, free: 9.934 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.716e-05/0.3608, allocations: 189.7 kB / 0.5503 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.3609, allocations: 125.5 kB / 0.5505 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.361, allocations: 116.2 kB / 0.5506 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.776e-05/0.361, allocations: 185.1 kB / 0.5508 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.876e-05/0.3611, allocations: 192.8 kB / 0.5509 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.233e-05/0.3611, allocations: 176.9 kB / 0.5511 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.3614, allocations: 441.9 kB / 0.5515 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/0.3614, allocations: 101.6 kB / 0.5516 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.3615, allocations: 101.7 kB / 0.5517 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.488e-05/0.3615, allocations: 184.9 kB / 0.5519 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.3616, allocations: 177 kB / 0.5521 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.558e-05/0.3617, allocations: 189 kB / 0.5522 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.292e-05/0.3617, allocations: 180.8 kB / 0.5524 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.3618, allocations: 313.3 kB / 0.5527 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.3619, allocations: 192.1 kB / 0.5529 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.362, allocations: 185.6 kB / 0.5531 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.3621, allocations: 109.6 kB / 0.5532 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.3622, allocations: 184.9 kB / 0.5534 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.3622, allocations: 101 kB / 0.5535 GB, free: 6.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.3623, allocations: 139.8 kB / 0.5536 GB, free: 6.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3623, allocations: 0 / 0.5536 GB, free: 6.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.3626, allocations: 12 kB / 0.5536 GB, free: 6.23 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.823e-05/0.3627, allocations: 175.7 kB / 0.5538 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.959e-05/0.3627, allocations: 0 / 0.5538 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3628, allocations: 4 kB / 0.5538 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.3628, allocations: 4.5 kB / 0.5538 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.3633, allocations: 0.507 MB / 0.5543 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.3637, allocations: 275.9 kB / 0.5545 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.3639, allocations: 0.6954 MB / 0.5552 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.511e-05/0.364, allocations: 10.72 kB / 0.5552 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.364, allocations: 11.44 kB / 0.5552 GB, free: 4.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.364, allocations: 4 kB / 0.5552 GB, free: 4.516 MB / 398.1 MB Notification: Performance of Templates: time 0.00408/0.3681, allocations: 1.536 MB / 0.5567 GB, free: 3.633 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)