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.0836/0.0836, allocations: 15.29 MB / 31.6 MB, free: 4.141 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.001072/0.001072, allocations: 97.55 kB / 36.59 MB, free: 3.152 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.001228/0.001228, allocations: 194.1 kB / 41.7 MB, free: 7.117 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.406/1.406, allocations: 222.9 MB / 269.6 MB, free: 6.945 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1315/0.1315, allocations: 23.35 MB / 347.3 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 111.8 kB / 479.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3017, 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.SkinHeatFlow): time 0.03105/0.3328, allocations: 21.81 MB / 0.5475 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000835/0.3337, allocations: 444.4 kB / 0.548 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.3338, allocations: 4 kB / 0.548 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.3339, allocations: 21.02 kB / 0.548 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.334, allocations: 46.39 kB / 0.548 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.024e-05/0.3341, allocations: 15.28 kB / 0.548 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.3343, allocations: 111.5 kB / 0.5482 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3344, allocations: 30.36 kB / 0.5482 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.3345, allocations: 29.98 kB / 0.5482 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.3346, allocations: 40.12 kB / 0.5482 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.3346, allocations: 4 kB / 0.5483 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.3346, allocations: 8 kB / 0.5483 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.3346, allocations: 21.08 kB / 0.5483 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.3347, allocations: 46.08 kB / 0.5483 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.3348, allocations: 94.59 kB / 0.5484 GB, free: 12.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3349, allocations: 0 / 0.5484 GB, free: 12.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3349, allocations: 0 / 0.5484 GB, free: 12.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3349, allocations: 0 / 0.5484 GB, free: 12.6 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.0004346/0.3353, allocations: 407.5 kB / 0.5488 GB, free: 12.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3354, allocations: 8.031 kB / 0.5488 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.3354, allocations: 16.84 kB / 0.5488 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.3357, allocations: 222 kB / 0.549 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3357, allocations: 4.375 kB / 0.549 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3357, allocations: 4.891 kB / 0.549 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3358, allocations: 58.61 kB / 0.5491 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.3358, allocations: 0 / 0.5491 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3358, allocations: 0.5625 kB / 0.5491 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3358, allocations: 8 kB / 0.5491 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.3359, allocations: 30.22 kB / 0.5491 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.3364, allocations: 483.8 kB / 0.5496 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.433e-05/0.3365, allocations: 165.1 kB / 0.5498 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.3365, allocations: 88.7 kB / 0.5498 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3365, allocations: 75.28 kB / 0.5499 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.3366, allocations: 106.4 kB / 0.55 GB, free: 10.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3366, allocations: 0 / 0.55 GB, free: 10.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.857e-05/0.3366, allocations: 42.11 kB / 0.5501 GB, free: 10.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3367, allocations: 60.05 kB / 0.5501 GB, free: 10.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3369, allocations: 183.2 kB / 0.5503 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.3369, allocations: 29.7 kB / 0.5503 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.3369, allocations: 111.9 kB / 0.5504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.337, allocations: 0 / 0.5504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.337, allocations: 10.33 kB / 0.5504 GB, free: 10.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.3371, allocations: 322.5 kB / 0.5507 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.3371, allocations: 4 kB / 0.5507 GB, free: 10.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.337e-06/0.3371, allocations: 4.797 kB / 0.5508 GB, free: 10.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.3372, allocations: 4.922 kB / 0.5508 GB, free: 10.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3372, allocations: 7.938 kB / 0.5508 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.493e-05/0.3373, allocations: 50.95 kB / 0.5508 GB, free: 10 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3373, allocations: 11.59 kB / 0.5508 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3373, allocations: 0.75 kB / 0.5508 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3373, allocations: 0 / 0.5508 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.241e-05/0.3374, allocations: 0 / 0.5508 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3374, allocations: 4.688 kB / 0.5508 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.3374, allocations: 11.95 kB / 0.5508 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.3374, allocations: 0 / 0.5508 GB, free: 9.977 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.528e-05/0.3375, allocations: 193.9 kB / 0.551 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.3376, allocations: 113.7 kB / 0.5511 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.3376, allocations: 120.7 kB / 0.5512 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.516e-05/0.3377, allocations: 184.9 kB / 0.5514 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.3377, allocations: 112.9 kB / 0.5515 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.3378, allocations: 188.3 kB / 0.5517 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.3379, allocations: 185 kB / 0.5519 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.338, allocations: 109.7 kB / 0.552 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.338, allocations: 177 kB / 0.5522 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.301e-05/0.3381, allocations: 260.2 kB / 0.5524 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001328/0.3383, allocations: 393.2 kB / 0.5528 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.336e-05/0.3383, allocations: 105.7 kB / 0.5529 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3384, allocations: 135.2 kB / 0.553 GB, free: 7.648 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.3384, allocations: 0 / 0.553 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.3387, allocations: 75.94 kB / 0.5531 GB, free: 7.566 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007697/0.3395, allocations: 1.006 MB / 0.5541 GB, free: 6.531 MB / 398.1 MB Notification: Performance of Templates: time 0.004215/0.3437, allocations: 1.585 MB / 0.5556 GB, free: 5.613 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)