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.08962/0.08962, allocations: 15.28 MB / 30.91 MB, free: 4.137 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.001107/0.001107, allocations: 114 kB / 35.92 MB, free: 3.184 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.00138/0.00138, allocations: 193 kB / 41.02 MB, free: 7.109 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.366/1.366, allocations: 222.9 MB / 268.9 MB, free: 6.836 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1334/0.1334, allocations: 23.35 MB / 346.6 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002144, allocations: 111.8 kB / 478.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3346, allocations: 59.35 MB / 0.5251 GB, free: 7.793 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.03375/0.3683, allocations: 21.65 MB / 0.5462 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3696, allocations: 441.2 kB / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.3698, allocations: 7.938 kB / 0.5467 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.37, allocations: 16.64 kB / 0.5467 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.3702, allocations: 45.7 kB / 0.5467 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.88e-05/0.3703, allocations: 11.84 kB / 0.5467 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.3705, allocations: 110.4 kB / 0.5468 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3706, allocations: 27.58 kB / 0.5469 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.3707, allocations: 42.33 kB / 0.5469 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.324e-05/0.3708, allocations: 39.78 kB / 0.5469 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3709, allocations: 4 kB / 0.5469 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.3709, allocations: 4 kB / 0.547 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.3709, allocations: 17.25 kB / 0.547 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.371, allocations: 45.72 kB / 0.547 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3712, allocations: 92.19 kB / 0.5471 GB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3712, allocations: 0 / 0.5471 GB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3712, allocations: 0 / 0.5471 GB, free: 12.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.3712, allocations: 0 / 0.5471 GB, free: 12.7 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.0006458/0.3719, allocations: 415.8 kB / 0.5475 GB, free: 12.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.3719, allocations: 8.031 kB / 0.5475 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.372, allocations: 31.97 kB / 0.5475 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.372, allocations: 16.84 kB / 0.5476 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.3725, allocations: 218.3 kB / 0.5478 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3725, allocations: 8.312 kB / 0.5478 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3725, allocations: 4.375 kB / 0.5478 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3727, allocations: 66.44 kB / 0.5478 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3727, allocations: 0 / 0.5478 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3727, allocations: 4.75 kB / 0.5478 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.3727, allocations: 4 kB / 0.5478 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.3728, allocations: 22.02 kB / 0.5479 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.3735, allocations: 487.9 kB / 0.5483 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3737, allocations: 165.1 kB / 0.5485 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.3737, allocations: 88.92 kB / 0.5486 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.3738, allocations: 75.28 kB / 0.5486 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.261e-05/0.3738, allocations: 113.8 kB / 0.5488 GB, free: 10.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.3738, allocations: 0 / 0.5488 GB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.374, allocations: 42.62 kB / 0.5488 GB, free: 10.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.374, allocations: 126.7 kB / 0.5489 GB, free: 10.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3743, allocations: 187.3 kB / 0.5491 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3743, allocations: 25.7 kB / 0.5491 GB, free: 10.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.3744, allocations: 112.8 kB / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.3744, allocations: 0 / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.3744, allocations: 9.719 kB / 0.5492 GB, free: 10.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3746, allocations: 327.2 kB / 0.5495 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.3746, allocations: 3.938 kB / 0.5495 GB, free: 10.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.3746, allocations: 4 kB / 0.5496 GB, free: 10.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/0.3747, allocations: 8.922 kB / 0.5496 GB, free: 10.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3747, allocations: 0 / 0.5496 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001312/0.3748, allocations: 46.83 kB / 0.5496 GB, free: 9.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3748, allocations: 8 kB / 0.5496 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.3749, allocations: 3.938 kB / 0.5496 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3749, allocations: 4.5 kB / 0.5496 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.375, allocations: 4.109 kB / 0.5496 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.375, allocations: 4.641 kB / 0.5496 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.375, allocations: 3.938 kB / 0.5496 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.375, allocations: 4.016 kB / 0.5496 GB, free: 9.945 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.0001443/0.3752, allocations: 197.7 kB / 0.5498 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.3753, allocations: 117.4 kB / 0.5499 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.832e-05/0.3754, allocations: 116.3 kB / 0.55 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.528e-05/0.3755, allocations: 188.9 kB / 0.5502 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.767e-05/0.3755, allocations: 184.9 kB / 0.5504 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.922e-05/0.3756, allocations: 188.8 kB / 0.5506 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.3759, allocations: 430.1 kB / 0.551 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.999e-05/0.376, allocations: 105.7 kB / 0.5511 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.3761, allocations: 109.6 kB / 0.5512 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-05/0.3761, allocations: 176.9 kB / 0.5514 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.3762, allocations: 185 kB / 0.5515 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.044e-05/0.3763, allocations: 181 kB / 0.5517 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.423e-05/0.3764, allocations: 180.9 kB / 0.5519 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.3766, allocations: 313.6 kB / 0.5522 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.3767, allocations: 191.8 kB / 0.5524 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.3768, allocations: 189 kB / 0.5526 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3769, allocations: 105.7 kB / 0.5527 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.377, allocations: 180.7 kB / 0.5528 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.377, allocations: 105.8 kB / 0.5529 GB, free: 6.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3771, allocations: 131.5 kB / 0.5531 GB, free: 6.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3771, allocations: 0 / 0.5531 GB, free: 6.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3774, allocations: 12 kB / 0.5531 GB, free: 6.25 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.0004799/0.3779, allocations: 0.8195 MB / 0.5539 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.667e-05/0.378, allocations: 4.75 kB / 0.5539 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.378, allocations: 4 kB / 0.5539 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.378, allocations: 4.062 kB / 0.5539 GB, free: 5.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.3786, allocations: 0.5025 MB / 0.5544 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3803, allocations: 1.639 MB / 0.556 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3807, allocations: 0.6953 MB / 0.5566 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.3807, allocations: 14.7 kB / 0.5567 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.3808, allocations: 26.34 kB / 0.5567 GB, free: 2.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3808, allocations: 0 / 0.5567 GB, free: 2.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.4027, allocations: 3.081 MB / 0.5597 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.99, allocations: 19.78 kB / 0.5597 GB, free: 0.5508 MB / 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)