Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.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.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1058/0.1058, allocations: 15.27 MB / 30.54 MB, free: 5.719 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.0007791/0.0007791, allocations: 113 kB / 35.57 MB, free: 1.133 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.000973/0.000973, allocations: 184.5 kB / 40.68 MB, free: 4.742 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.3/1.3, allocations: 223.3 MB / 268.9 MB, free: 2.004 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1178/0.1178, allocations: 23.39 MB / 347.7 MB, free: 6.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004654, allocations: 12.47 kB / 420.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 60.47 MB / 480.7 MB, free: 36.41 MB / 350.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.SkinHeatFlow): time 0.01891/0.2407, allocations: 20.48 MB / 0.4894 GB, free: 16.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007144/0.2414, allocations: 478.8 kB / 0.4899 GB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.2415, allocations: 7.938 kB / 0.4899 GB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.183e-05/0.2416, allocations: 15.86 kB / 0.4899 GB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/0.2417, allocations: 35.7 kB / 0.4899 GB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.156e-05/0.2417, allocations: 11.92 kB / 0.49 GB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.2419, allocations: 111.3 kB / 0.4901 GB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.242, allocations: 33.06 kB / 0.4901 GB, free: 15.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.242, allocations: 27.88 kB / 0.4901 GB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.2421, allocations: 43.73 kB / 0.4902 GB, free: 15.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2421, allocations: 3.938 kB / 0.4902 GB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.2421, allocations: 4 kB / 0.4902 GB, free: 15.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.2421, allocations: 7.938 kB / 0.4902 GB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.2422, allocations: 73.44 kB / 0.4902 GB, free: 15.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.2423, allocations: 83.64 kB / 0.4903 GB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2423, allocations: 0 / 0.4903 GB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2423, allocations: 0 / 0.4903 GB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.2423, allocations: 0 / 0.4903 GB, free: 15.12 MB / 350.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.0003152/0.2426, allocations: 387 kB / 0.4907 GB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2426, allocations: 8.031 kB / 0.4907 GB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.2427, allocations: 16.83 kB / 0.4907 GB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.2428, allocations: 212 kB / 0.4909 GB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2429, allocations: 4.375 kB / 0.4909 GB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.2429, allocations: 4.375 kB / 0.4909 GB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/0.243, allocations: 61.98 kB / 0.491 GB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.243, allocations: 0 / 0.491 GB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.243, allocations: 4 kB / 0.491 GB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.243, allocations: 4 kB / 0.491 GB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.476e-05/0.2431, allocations: 31.88 kB / 0.491 GB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.2434, allocations: 475.1 kB / 0.4915 GB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.255e-05/0.2435, allocations: 173.1 kB / 0.4916 GB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.2435, allocations: 84.14 kB / 0.4917 GB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-06/0.2435, allocations: 75.28 kB / 0.4918 GB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2436, allocations: 105.8 kB / 0.4919 GB, free: 13.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2436, allocations: 0 / 0.4919 GB, free: 13.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.534e-05/0.2436, allocations: 45.45 kB / 0.4919 GB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.2437, allocations: 134.6 kB / 0.4921 GB, free: 13.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2438, allocations: 183.1 kB / 0.4922 GB, free: 12.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.2438, allocations: 25.7 kB / 0.4923 GB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.2439, allocations: 112 kB / 0.4924 GB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.2439, allocations: 0 / 0.4924 GB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.2439, allocations: 9.719 kB / 0.4924 GB, free: 12.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.32e-05/0.2439, allocations: 322.8 kB / 0.4927 GB, free: 12.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.244, allocations: 4 kB / 0.4927 GB, free: 12.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-06/0.244, allocations: 4 kB / 0.4927 GB, free: 12.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.244, allocations: 8.922 kB / 0.4927 GB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.244, allocations: 0 / 0.4927 GB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001038/0.2441, allocations: 53.48 kB / 0.4928 GB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2441, allocations: 7.984 kB / 0.4928 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2441, allocations: 0 / 0.4928 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2442, allocations: 0 / 0.4928 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.2442, allocations: 11.94 kB / 0.4928 GB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.2442, allocations: 0 / 0.4928 GB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.2443, allocations: 0 / 0.4928 GB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.2443, allocations: 8.016 kB / 0.4928 GB, free: 12.37 MB / 350.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 4.902e-05/0.2443, allocations: 193.1 kB / 0.493 GB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.2444, allocations: 120.8 kB / 0.4931 GB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.2444, allocations: 121.5 kB / 0.4932 GB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.2444, allocations: 184.2 kB / 0.4934 GB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/0.2445, allocations: 180.2 kB / 0.4935 GB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.2445, allocations: 184.3 kB / 0.4937 GB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.2446, allocations: 437.2 kB / 0.4941 GB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.2447, allocations: 109 kB / 0.4942 GB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.2447, allocations: 105 kB / 0.4943 GB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-05/0.2447, allocations: 184.2 kB / 0.4945 GB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.2447, allocations: 180.3 kB / 0.4947 GB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.21e-05/0.2448, allocations: 184.1 kB / 0.4949 GB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.162e-05/0.2448, allocations: 184.2 kB / 0.495 GB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.012e-05/0.2449, allocations: 311.7 kB / 0.4953 GB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.2449, allocations: 186 kB / 0.4955 GB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.245, allocations: 188.2 kB / 0.4957 GB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.245, allocations: 104.9 kB / 0.4958 GB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.2451, allocations: 180.3 kB / 0.496 GB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2451, allocations: 108.9 kB / 0.4961 GB, free: 8.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.406e-05/0.2452, allocations: 133.2 kB / 0.4962 GB, free: 8.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2452, allocations: 0 / 0.4962 GB, free: 8.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.2454, allocations: 23.84 kB / 0.4962 GB, free: 8.625 MB / 350.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 5.496e-05/0.2455, allocations: 170.5 kB / 0.4964 GB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.147e-05/0.2455, allocations: 4 kB / 0.4964 GB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2455, allocations: 0 / 0.4964 GB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.2455, allocations: 0 / 0.4964 GB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.246, allocations: 0.5785 MB / 0.497 GB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.2464, allocations: 310.2 kB / 0.4973 GB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.2465, allocations: 0.7004 MB / 0.4979 GB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.426e-05/0.2465, allocations: 12.64 kB / 0.4979 GB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.2465, allocations: 15.44 kB / 0.498 GB, free: 6.777 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2466, allocations: 0 / 0.498 GB, free: 6.777 MB / 350.1 MB Notification: Performance of Templates: time 0.003318/0.2499, allocations: 1.458 MB / 0.4994 GB, free: 5.348 MB / 350.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)