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-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.07745/0.07745, allocations: 15.26 MB / 31.21 MB, free: 3.23 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000908/0.0009081, allocations: 180.9 kB / 36.3 MB, free: 2.27 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.3 MB / 264.5 MB, free: 6.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009884/0.0009885, allocations: 83.81 kB / 319.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.105/0.105, allocations: 20.56 MB / 395.8 MB, free: 43.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004984, allocations: 16 kB / 467.6 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2854, allocations: 59.77 MB / 0.515 GB, free: 41.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.4162, allocations: 91.97 MB / 0.6048 GB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.4164, allocations: 79.94 kB / 0.6049 GB, free: 13.17 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:7596:10-7596:69:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System core.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$core. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:7596:10-7596:69:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System skin.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$skin. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.007421/0.4238, allocations: 3.217 MB / 0.608 GB, free: 9.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4239, allocations: 0 / 0.608 GB, free: 9.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.4239, allocations: 0 / 0.608 GB, free: 9.945 MB / 410.7 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.0004121/0.4243, allocations: 433.8 kB / 0.6085 GB, free: 9.473 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.4243, allocations: 8.031 kB / 0.6085 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.4244, allocations: 16.75 kB / 0.6085 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.4247, allocations: 271.6 kB / 0.6087 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4247, allocations: 12.38 kB / 0.6088 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.4247, allocations: 4.375 kB / 0.6088 GB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.4248, allocations: 56.11 kB / 0.6088 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.4249, allocations: 192 / 0.6088 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.4249, allocations: 3.938 kB / 0.6088 GB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4249, allocations: 4 kB / 0.6088 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.4249, allocations: 23.98 kB / 0.6088 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.4254, allocations: 0.499 MB / 0.6093 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.4255, allocations: 169.1 kB / 0.6095 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.4255, allocations: 80.14 kB / 0.6096 GB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.4256, allocations: 79.28 kB / 0.6096 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.4256, allocations: 113.8 kB / 0.6097 GB, free: 8.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4256, allocations: 0 / 0.6097 GB, free: 8.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.484e-05/0.4257, allocations: 41.52 kB / 0.6098 GB, free: 7.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.4258, allocations: 130.7 kB / 0.6099 GB, free: 7.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.426, allocations: 228.9 kB / 0.6101 GB, free: 7.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.426, allocations: 25.7 kB / 0.6102 GB, free: 7.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.4261, allocations: 136 kB / 0.6103 GB, free: 7.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.4261, allocations: 4 kB / 0.6103 GB, free: 7.441 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.4261, allocations: 0 / 0.6103 GB, free: 7.441 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4262, allocations: 327 kB / 0.6106 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.4262, allocations: 4 kB / 0.6106 GB, free: 7.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.4262, allocations: 0 / 0.6106 GB, free: 7.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.4263, allocations: 8.859 kB / 0.6106 GB, free: 7.098 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4263, allocations: 0 / 0.6106 GB, free: 7.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001028/0.4264, allocations: 53.5 kB / 0.6107 GB, free: 7.039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4264, allocations: 8.094 kB / 0.6107 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4264, allocations: 3.938 kB / 0.6107 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4264, allocations: 0 / 0.6107 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.186e-05/0.4265, allocations: 7.938 kB / 0.6107 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4265, allocations: 3.938 kB / 0.6107 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.4265, allocations: 0 / 0.6107 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.4265, allocations: 0 / 0.6107 GB, free: 7.016 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.4266, allocations: 197.1 kB / 0.6109 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.4267, allocations: 124.8 kB / 0.611 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.796e-05/0.4268, allocations: 125.8 kB / 0.6111 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/0.4268, allocations: 180.3 kB / 0.6113 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.202e-05/0.4269, allocations: 184.2 kB / 0.6115 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.593e-05/0.427, allocations: 186.9 kB / 0.6116 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.4272, allocations: 445.3 kB / 0.6121 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/0.4273, allocations: 112.9 kB / 0.6122 GB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.4273, allocations: 105 kB / 0.6123 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-05/0.4274, allocations: 180.2 kB / 0.6124 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.4274, allocations: 180.2 kB / 0.6126 GB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.49e-05/0.4275, allocations: 180.3 kB / 0.6128 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.969e-05/0.4276, allocations: 192.1 kB / 0.613 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.4277, allocations: 311.6 kB / 0.6133 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.4278, allocations: 201.8 kB / 0.6135 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.4279, allocations: 180.3 kB / 0.6136 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.428, allocations: 108.9 kB / 0.6137 GB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.428, allocations: 188.2 kB / 0.6139 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.4281, allocations: 105 kB / 0.614 GB, free: 3.379 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.4282, allocations: 164.5 kB / 0.6142 GB, free: 3.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.966e-06/0.4282, allocations: 0 / 0.6142 GB, free: 3.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.4285, allocations: 23.94 kB / 0.6142 GB, free: 3.191 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.941e-05/0.4286, allocations: 162.5 kB / 0.6144 GB, free: 3.023 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.383e-05/0.4286, allocations: 12 kB / 0.6144 GB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4286, allocations: 0 / 0.6144 GB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.4286, allocations: 0 / 0.6144 GB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/0.4293, allocations: 0.6132 MB / 0.615 GB, free: 2.398 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.4297, allocations: 360.3 kB / 0.6153 GB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.43, allocations: 0.7088 MB / 0.616 GB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.776e-05/0.43, allocations: 17.55 kB / 0.616 GB, free: 1.273 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.4301, allocations: 15.44 kB / 0.616 GB, free: 1.258 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4301, allocations: 0 / 0.616 GB, free: 1.258 MB / 410.7 MB Notification: Performance of Templates: time 0.0045/0.4346, allocations: 2.323 MB / 0.6183 GB, free: 15 MB / 426.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)