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/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-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.1404/0.1404, allocations: 15.28 MB / 30.51 MB, free: 4.355 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.001338/0.001338, allocations: 110.2 kB / 35.49 MB, free: 3.395 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.001244/0.001244, allocations: 196.5 kB / 40.58 MB, free: 7.469 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.377/1.377, allocations: 222.9 MB / 268.4 MB, free: 7.633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.145/0.145, allocations: 23.35 MB / 346.1 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 112.3 kB / 417.7 MB, free: 30.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1154, allocations: 59.37 MB / 477 MB, free: 3.344 MB / 334.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.02644/0.1418, allocations: 20.83 MB / 497.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007897/0.1426, allocations: 486.8 kB / 498.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.1427, allocations: 7.938 kB / 498.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.405e-05/0.1428, allocations: 11.86 kB / 498.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.085e-05/0.1429, allocations: 39.7 kB / 498.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.324e-05/0.143, allocations: 7.984 kB / 498.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1431, allocations: 107.3 kB / 498.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.1432, allocations: 37.08 kB / 498.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.1433, allocations: 31.88 kB / 498.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.1433, allocations: 39.73 kB / 498.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1434, allocations: 8 kB / 498.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.1434, allocations: 4 kB / 498.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.1434, allocations: 11.88 kB / 498.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.1435, allocations: 51.73 kB / 498.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.1436, allocations: 83.66 kB / 498.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1436, allocations: 0 / 498.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1436, allocations: 4 kB / 498.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1436, allocations: 4 kB / 498.8 MB, free: 13.72 MB / 366.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.0004051/0.144, allocations: 406.9 kB / 499.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.1441, allocations: 8.031 kB / 499.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.1441, allocations: 16.78 kB / 499.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1443, allocations: 215.9 kB / 499.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.1443, allocations: 384 / 499.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1443, allocations: 8.375 kB / 499.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1445, allocations: 61.94 kB / 499.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1445, allocations: 4 kB / 499.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1445, allocations: 4 kB / 499.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1445, allocations: 0 / 499.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.1446, allocations: 27.92 kB / 499.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.145, allocations: 483.1 kB / 500 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.398e-05/0.1451, allocations: 173.1 kB / 0.4884 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.1451, allocations: 80.14 kB / 0.4885 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1451, allocations: 75.28 kB / 0.4886 GB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.1452, allocations: 113.8 kB / 0.4887 GB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1452, allocations: 0 / 0.4887 GB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.661e-05/0.1453, allocations: 45.58 kB / 0.4887 GB, free: 11.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1453, allocations: 134.6 kB / 0.4889 GB, free: 11.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1455, allocations: 183.7 kB / 0.489 GB, free: 11.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.1455, allocations: 25.7 kB / 0.4891 GB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.1456, allocations: 116 kB / 0.4892 GB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.1456, allocations: 0 / 0.4892 GB, free: 11.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.1456, allocations: 9.719 kB / 0.4892 GB, free: 11.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1457, allocations: 326.8 kB / 0.4895 GB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.1457, allocations: 4 kB / 0.4895 GB, free: 11.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.1458, allocations: 4 kB / 0.4895 GB, free: 11.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.242e-05/0.1458, allocations: 8.844 kB / 0.4895 GB, free: 11.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1458, allocations: 0 / 0.4895 GB, free: 11.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.957e-05/0.1459, allocations: 49.55 kB / 0.4896 GB, free: 10.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1459, allocations: 4 kB / 0.4896 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1459, allocations: 0 / 0.4896 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1459, allocations: 112 / 0.4896 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.363e-05/0.146, allocations: 11.97 kB / 0.4896 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.146, allocations: 4 kB / 0.4896 GB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.731e-05/0.146, allocations: 3.906 kB / 0.4896 GB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.146, allocations: 3.984 kB / 0.4896 GB, free: 10.93 MB / 366.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 9.269e-05/0.1461, allocations: 193.1 kB / 0.4898 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.1462, allocations: 116.9 kB / 0.4899 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.1463, allocations: 117.5 kB / 0.49 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.512e-05/0.1463, allocations: 184.2 kB / 0.4902 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.42e-05/0.1464, allocations: 184.2 kB / 0.4903 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.977e-05/0.1465, allocations: 180.3 kB / 0.4905 GB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.1467, allocations: 429.2 kB / 0.4909 GB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.418e-05/0.1468, allocations: 116.9 kB / 0.491 GB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.1468, allocations: 105 kB / 0.4911 GB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.612e-05/0.1469, allocations: 184.2 kB / 0.4913 GB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.1469, allocations: 180.2 kB / 0.4915 GB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-05/0.147, allocations: 180.2 kB / 0.4917 GB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-05/0.1471, allocations: 184.2 kB / 0.4918 GB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.1472, allocations: 319.7 kB / 0.4921 GB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.1473, allocations: 189.9 kB / 0.4923 GB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.1474, allocations: 184.3 kB / 0.4925 GB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.1475, allocations: 108.9 kB / 0.4926 GB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.1475, allocations: 180.2 kB / 0.4928 GB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.1476, allocations: 108.9 kB / 0.4929 GB, free: 7.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.718e-05/0.1477, allocations: 133.2 kB / 0.493 GB, free: 7.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1477, allocations: 0 / 0.493 GB, free: 7.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.1479, allocations: 12 kB / 0.493 GB, free: 7.199 MB / 366.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 9.869e-05/0.148, allocations: 174.5 kB / 0.4932 GB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.129e-05/0.1481, allocations: 8 kB / 0.4932 GB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1481, allocations: 0 / 0.4932 GB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.1481, allocations: 0 / 0.4932 GB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.1487, allocations: 0.4946 MB / 0.4937 GB, free: 6.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.149, allocations: 300 kB / 0.494 GB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1493, allocations: 0.6961 MB / 0.4946 GB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.1493, allocations: 20.64 kB / 0.4947 GB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1494, allocations: 11.44 kB / 0.4947 GB, free: 5.438 MB / 366.1 MB Notification: Performance of SimCode: time 1.383e-06/0.1494, allocations: 0 / 0.4947 GB, free: 5.438 MB / 366.1 MB Notification: Performance of Templates: time 0.003296/0.1527, allocations: 1.532 MB / 0.4962 GB, free: 3.938 MB / 366.1 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)