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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09713/0.09713, allocations: 15.28 MB / 30.92 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.00123/0.00123, allocations: 99.11 kB / 35.91 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.001491/0.001491, allocations: 195.3 kB / 41.02 MB, free: 7.145 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.505/1.505, allocations: 222.9 MB / 268.9 MB, free: 6.883 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1465/0.1465, allocations: 23.36 MB / 346.6 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003219/0.003219, allocations: 115.8 kB / 478.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3022, allocations: 59.35 MB / 0.5251 GB, free: 7.773 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.02986/0.3321, allocations: 22.1 MB / 0.5467 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.333, allocations: 449.8 kB / 0.5471 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.3331, allocations: 0 / 0.5471 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.3333, allocations: 20.41 kB / 0.5471 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.3334, allocations: 41.75 kB / 0.5472 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.698e-05/0.3334, allocations: 11.09 kB / 0.5472 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.3336, allocations: 110.9 kB / 0.5473 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3337, allocations: 35.95 kB / 0.5473 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.71e-05/0.3337, allocations: 29.47 kB / 0.5473 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.3338, allocations: 44.14 kB / 0.5474 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3338, allocations: 8 kB / 0.5474 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.3339, allocations: 4 kB / 0.5474 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.3339, allocations: 13.38 kB / 0.5474 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.334, allocations: 49.34 kB / 0.5475 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.3343, allocations: 86.42 kB / 0.5475 GB, free: 12.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3343, allocations: 4 kB / 0.5475 GB, free: 12.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3343, allocations: 0 / 0.5475 GB, free: 12.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3343, allocations: 0 / 0.5475 GB, free: 12.23 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.0004916/0.3348, allocations: 411.1 kB / 0.5479 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3348, allocations: 13.06 kB / 0.5479 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.3349, allocations: 35.69 kB / 0.548 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.3349, allocations: 12.84 kB / 0.548 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.3352, allocations: 226 kB / 0.5482 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.3352, allocations: 384 / 0.5482 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3352, allocations: 4.375 kB / 0.5482 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.3353, allocations: 59.08 kB / 0.5483 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3354, allocations: 7.938 kB / 0.5483 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3354, allocations: 0 / 0.5483 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3354, allocations: 7.875 kB / 0.5483 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.539e-05/0.3354, allocations: 22.77 kB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.336, allocations: 484 kB / 0.5488 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.762e-05/0.3361, allocations: 173.2 kB / 0.5489 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/0.3362, allocations: 80.14 kB / 0.549 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/0.3362, allocations: 75.89 kB / 0.5491 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.3363, allocations: 109.8 kB / 0.5492 GB, free: 10.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3364, allocations: 0 / 0.5492 GB, free: 10.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.745e-05/0.3364, allocations: 50.23 kB / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.3365, allocations: 131.2 kB / 0.5494 GB, free: 10.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.3367, allocations: 183.6 kB / 0.5495 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3367, allocations: 25.7 kB / 0.5496 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.3368, allocations: 112 kB / 0.5497 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-06/0.3368, allocations: 4 kB / 0.5497 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.3369, allocations: 14.7 kB / 0.5497 GB, free: 9.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.337, allocations: 318 kB / 0.55 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.337, allocations: 8 kB / 0.55 GB, free: 9.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.3371, allocations: 0.6562 kB / 0.55 GB, free: 9.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.3371, allocations: 12.8 kB / 0.55 GB, free: 9.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3371, allocations: 0 / 0.55 GB, free: 9.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.632e-05/0.3372, allocations: 43.02 kB / 0.55 GB, free: 9.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3372, allocations: 16.25 kB / 0.5501 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3372, allocations: 0 / 0.5501 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3372, allocations: 3.938 kB / 0.5501 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/0.3373, allocations: 0.6094 kB / 0.5501 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.3373, allocations: 0 / 0.5501 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.3373, allocations: 12.7 kB / 0.5501 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.3374, allocations: 0 / 0.5501 GB, free: 9.477 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 0.0001155/0.3375, allocations: 190 kB / 0.5503 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.3376, allocations: 121.5 kB / 0.5504 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.3376, allocations: 115.9 kB / 0.5505 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.907e-05/0.3377, allocations: 189 kB / 0.5507 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.671e-05/0.3378, allocations: 181 kB / 0.5508 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-05/0.3379, allocations: 177 kB / 0.551 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.3382, allocations: 442.1 kB / 0.5514 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.287e-05/0.3382, allocations: 101 kB / 0.5515 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.3383, allocations: 102.1 kB / 0.5516 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.812e-05/0.3384, allocations: 184.7 kB / 0.5518 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.79e-05/0.3385, allocations: 180.9 kB / 0.552 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-05/0.3385, allocations: 184.8 kB / 0.5522 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.128e-05/0.3386, allocations: 180.9 kB / 0.5523 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.3388, allocations: 326.1 kB / 0.5526 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3389, allocations: 191.8 kB / 0.5528 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.339, allocations: 180.9 kB / 0.553 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3391, allocations: 109.5 kB / 0.5531 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.3392, allocations: 189 kB / 0.5533 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.3393, allocations: 101.5 kB / 0.5534 GB, free: 5.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3394, allocations: 135.7 kB / 0.5535 GB, free: 5.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3394, allocations: 0 / 0.5535 GB, free: 5.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.3396, allocations: 12 kB / 0.5535 GB, free: 5.777 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.0005274/0.3402, allocations: 0.8192 MB / 0.5543 GB, free: 4.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.051e-05/0.3402, allocations: 4.703 kB / 0.5543 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3402, allocations: 0 / 0.5543 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3402, allocations: 0 / 0.5543 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.3408, allocations: 0.5065 MB / 0.5548 GB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.3425, allocations: 1.645 MB / 0.5564 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3429, allocations: 0.7031 MB / 0.5571 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.166e-05/0.3429, allocations: 7.281 kB / 0.5571 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.343, allocations: 26.16 kB / 0.5571 GB, free: 2.016 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.343, allocations: 3.938 kB / 0.5571 GB, free: 2.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.3677, allocations: 3.056 MB / 0.5601 GB, free: 104 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.39, allocations: 6.438 kB / 0.5601 GB, free: 100 kB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)