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.1072/0.1072, 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.001267/0.001267, allocations: 103.5 kB / 35.92 MB, free: 3.191 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.001545/0.001545, allocations: 194.1 kB / 41.02 MB, free: 7.137 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.553/1.553, 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.1555/0.1555, allocations: 23.35 MB / 346.6 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003136/0.003136, allocations: 107.8 kB / 478.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3742, allocations: 59.36 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.03797/0.4121, allocations: 22.15 MB / 0.5467 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.4134, allocations: 442.1 kB / 0.5472 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.4135, allocations: 8 kB / 0.5472 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.4136, allocations: 21.44 kB / 0.5472 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.4138, allocations: 41.42 kB / 0.5472 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.295e-05/0.4138, allocations: 11.8 kB / 0.5472 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.414, allocations: 110 kB / 0.5473 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.4141, allocations: 23.69 kB / 0.5474 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.4142, allocations: 30.59 kB / 0.5474 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.4143, allocations: 43.69 kB / 0.5474 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.4143, allocations: 4 kB / 0.5474 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.4143, allocations: 8 kB / 0.5474 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.4144, allocations: 17.19 kB / 0.5475 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.4144, allocations: 45.89 kB / 0.5475 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.4146, allocations: 94.78 kB / 0.5476 GB, free: 12.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4146, allocations: 0 / 0.5476 GB, free: 12.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4146, allocations: 0 / 0.5476 GB, free: 12.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.4147, allocations: 0 / 0.5476 GB, free: 12.21 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.0006382/0.4153, allocations: 411.3 kB / 0.548 GB, free: 11.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4153, allocations: 8.031 kB / 0.548 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.269e-05/0.4154, allocations: 39.88 kB / 0.548 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.4154, allocations: 17.41 kB / 0.548 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.4158, allocations: 214.3 kB / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.4158, allocations: 8.375 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.4158, allocations: 384 / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.4159, allocations: 67.39 kB / 0.5483 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.416, allocations: 0 / 0.5483 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.416, allocations: 4 kB / 0.5483 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.416, allocations: 0 / 0.5483 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.822e-05/0.416, allocations: 30.09 kB / 0.5484 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.4167, allocations: 479.8 kB / 0.5488 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.4168, allocations: 173.1 kB / 0.549 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.4168, allocations: 84.14 kB / 0.5491 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.4169, allocations: 75.89 kB / 0.5491 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.226e-05/0.4169, allocations: 109.8 kB / 0.5492 GB, free: 10.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4169, allocations: 3.938 kB / 0.5492 GB, free: 10.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.1e-05/0.417, allocations: 42.3 kB / 0.5493 GB, free: 10.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.4171, allocations: 127.3 kB / 0.5494 GB, free: 10.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.4174, allocations: 187 kB / 0.5496 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.4174, allocations: 29.7 kB / 0.5496 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.4175, allocations: 116.4 kB / 0.5497 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.4175, allocations: 0 / 0.5497 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.4175, allocations: 10.28 kB / 0.5497 GB, free: 9.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4177, allocations: 322.9 kB / 0.55 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.4177, allocations: 0 / 0.55 GB, free: 9.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.4177, allocations: 12 kB / 0.55 GB, free: 9.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.4178, allocations: 13.61 kB / 0.5501 GB, free: 9.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4178, allocations: 0 / 0.5501 GB, free: 9.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001161/0.4179, allocations: 46.41 kB / 0.5501 GB, free: 9.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4179, allocations: 4.844 kB / 0.5501 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4179, allocations: 0 / 0.5501 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.4179, allocations: 3.938 kB / 0.5501 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.418, allocations: 4.797 kB / 0.5501 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.418, allocations: 0 / 0.5501 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.418, allocations: 3.953 kB / 0.5501 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.418, allocations: 4.031 kB / 0.5501 GB, free: 9.465 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.0001491/0.4182, allocations: 189.9 kB / 0.5503 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.4182, allocations: 117.9 kB / 0.5504 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.354e-05/0.4183, allocations: 116.5 kB / 0.5505 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.576e-05/0.4184, allocations: 188.2 kB / 0.5507 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.459e-05/0.4185, allocations: 181 kB / 0.5509 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001015/0.4186, allocations: 184.9 kB / 0.5511 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.419, allocations: 434.2 kB / 0.5515 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/0.419, allocations: 101 kB / 0.5516 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.4191, allocations: 106.6 kB / 0.5517 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-05/0.4192, allocations: 180.2 kB / 0.5518 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/0.4193, allocations: 181.2 kB / 0.552 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.967e-05/0.4194, allocations: 188.8 kB / 0.5522 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.747e-05/0.4195, allocations: 185 kB / 0.5524 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.4197, allocations: 322.1 kB / 0.5527 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.4198, allocations: 183.3 kB / 0.5529 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.4199, allocations: 189.5 kB / 0.553 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.42, allocations: 105.6 kB / 0.5531 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4201, allocations: 180.7 kB / 0.5533 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/0.4202, allocations: 105.5 kB / 0.5534 GB, free: 5.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.4203, allocations: 135.6 kB / 0.5535 GB, free: 5.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4203, allocations: 0 / 0.5535 GB, free: 5.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.4205, allocations: 16 kB / 0.5536 GB, free: 5.77 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.0005426/0.4211, allocations: 0.8156 MB / 0.5544 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.486e-05/0.4212, allocations: 7.938 kB / 0.5544 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4212, allocations: 0 / 0.5544 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.4212, allocations: 4.578 kB / 0.5544 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.4218, allocations: 0.5092 MB / 0.5549 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.4236, allocations: 1.65 MB / 0.5565 GB, free: 2.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.4239, allocations: 0.6955 MB / 0.5571 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.424, allocations: 10.58 kB / 0.5572 GB, free: 2.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.4241, allocations: 25.92 kB / 0.5572 GB, free: 2.004 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4241, allocations: 0 / 0.5572 GB, free: 2.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.452, allocations: 3.068 MB / 0.5602 GB, free: 80 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.366, allocations: 10.88 kB / 0.5602 GB, free: 72 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)