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.1041/0.1041, allocations: 15.27 MB / 30.9 MB, free: 4.27 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.001066/0.001066, allocations: 115.8 kB / 35.92 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.001407/0.001407, allocations: 193.1 kB / 41.02 MB, free: 7.16 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.428/1.428, allocations: 222.9 MB / 268.9 MB, free: 6.953 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1429/0.1429, allocations: 23.35 MB / 346.6 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 115.8 kB / 478.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3275, allocations: 59.35 MB / 0.5251 GB, free: 7.785 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.03444/0.362, allocations: 21.66 MB / 0.5462 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.363, allocations: 436 kB / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.3631, allocations: 7.938 kB / 0.5467 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.3632, allocations: 17.95 kB / 0.5467 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.059e-05/0.3633, allocations: 41.66 kB / 0.5467 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.695e-05/0.3634, allocations: 11.09 kB / 0.5467 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3635, allocations: 111.1 kB / 0.5468 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3637, allocations: 30.41 kB / 0.5469 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.271e-05/0.3637, allocations: 38.78 kB / 0.5469 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.3638, allocations: 35.56 kB / 0.5469 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3638, allocations: 7.938 kB / 0.5469 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.3638, allocations: 4 kB / 0.547 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.3639, allocations: 17.56 kB / 0.547 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.3639, allocations: 53.33 kB / 0.547 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.3641, allocations: 84.89 kB / 0.5471 GB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3641, allocations: 3.938 kB / 0.5471 GB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3641, allocations: 4 kB / 0.5471 GB, free: 12.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3641, 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.0004909/0.3646, allocations: 406.9 kB / 0.5475 GB, free: 12.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3647, allocations: 8.031 kB / 0.5475 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.3647, allocations: 40.39 kB / 0.5475 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.3647, allocations: 8.844 kB / 0.5476 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.365, allocations: 222 kB / 0.5478 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.365, allocations: 4.375 kB / 0.5478 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.365, allocations: 8.375 kB / 0.5478 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.3651, allocations: 63.16 kB / 0.5478 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3652, allocations: 0 / 0.5478 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3652, allocations: 3.938 kB / 0.5478 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3652, allocations: 4 kB / 0.5478 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.26e-05/0.3653, allocations: 22.67 kB / 0.5479 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.3658, allocations: 483.8 kB / 0.5483 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.3659, allocations: 173.1 kB / 0.5485 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.3659, allocations: 80.14 kB / 0.5486 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.3659, allocations: 79.28 kB / 0.5486 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.366, allocations: 106.7 kB / 0.5487 GB, free: 10.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.366, allocations: 0 / 0.5487 GB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.559e-05/0.3661, allocations: 46.25 kB / 0.5488 GB, free: 10.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.3661, allocations: 130.6 kB / 0.5489 GB, free: 10.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.3663, allocations: 187.4 kB / 0.5491 GB, free: 10.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3664, allocations: 25.7 kB / 0.5491 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.3664, allocations: 112.5 kB / 0.5492 GB, free: 10.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.3665, allocations: 0 / 0.5492 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.3665, allocations: 10.23 kB / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3666, allocations: 322.5 kB / 0.5495 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.3666, allocations: 4 kB / 0.5495 GB, free: 10.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.3667, allocations: 8.516 kB / 0.5496 GB, free: 10.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.3667, allocations: 4.859 kB / 0.5496 GB, free: 10.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3667, allocations: 0 / 0.5496 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.649e-05/0.3668, allocations: 47.02 kB / 0.5496 GB, free: 9.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3668, allocations: 4.562 kB / 0.5496 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3668, allocations: 7.938 kB / 0.5496 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3668, allocations: 3.938 kB / 0.5496 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.3669, allocations: 12.83 kB / 0.5496 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3669, allocations: 0 / 0.5496 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.367, allocations: 3.938 kB / 0.5496 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.367, allocations: 4.109 kB / 0.5496 GB, free: 9.949 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.000103/0.3671, allocations: 194.3 kB / 0.5498 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.3672, allocations: 113.5 kB / 0.5499 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.3672, allocations: 115.7 kB / 0.55 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.88e-05/0.3673, allocations: 193.5 kB / 0.5502 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.341e-05/0.3674, allocations: 185 kB / 0.5504 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.187e-05/0.3674, allocations: 180.8 kB / 0.5506 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3677, allocations: 429.3 kB / 0.551 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.985e-05/0.3678, allocations: 110.1 kB / 0.5511 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.3678, allocations: 101.5 kB / 0.5512 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.688e-05/0.3679, allocations: 180.9 kB / 0.5514 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/0.368, allocations: 185 kB / 0.5515 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.95e-05/0.3681, allocations: 185 kB / 0.5517 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.885e-05/0.3681, allocations: 184.8 kB / 0.5519 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.3683, allocations: 313.7 kB / 0.5522 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/0.3684, allocations: 195.8 kB / 0.5524 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.3685, allocations: 177 kB / 0.5525 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3686, allocations: 109.6 kB / 0.5526 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.3686, allocations: 176.9 kB / 0.5528 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.3687, allocations: 113.6 kB / 0.5529 GB, free: 6.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.3688, allocations: 136 kB / 0.5531 GB, free: 6.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3688, allocations: 0 / 0.5531 GB, free: 6.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.369, allocations: 16 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.000427/0.3695, allocations: 0.8072 MB / 0.5539 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.359e-05/0.3696, allocations: 8.562 kB / 0.5539 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3696, allocations: 0 / 0.5539 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-06/0.3696, allocations: 3.938 kB / 0.5539 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.3702, allocations: 0.51 MB / 0.5544 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.3717, allocations: 1.642 MB / 0.556 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.372, allocations: 0.6953 MB / 0.5567 GB, free: 2.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.906e-05/0.3721, allocations: 14.91 kB / 0.5567 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.3721, allocations: 25.92 kB / 0.5567 GB, free: 2.492 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3721, allocations: 0 / 0.5567 GB, free: 2.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.3917, allocations: 3.087 MB / 0.5597 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.061, allocations: 7.781 kB / 0.5597 GB, free: 0.5625 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)