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.1454/0.1454, allocations: 15.28 MB / 30.4 MB, free: 4.395 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.001051/0.001051, allocations: 106.4 kB / 35.38 MB, free: 3.461 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.001654/0.001654, allocations: 189.1 kB / 40.46 MB, free: 7.547 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.351/1.351, allocations: 222.9 MB / 268.3 MB, free: 7.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1272/0.1272, allocations: 23.35 MB / 346 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 111.8 kB / 417.5 MB, free: 30.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09306, allocations: 59.37 MB / 476.8 MB, free: 3.461 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.SkinHeatFlow): time 0.02679/0.1199, allocations: 20.84 MB / 497.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007376/0.1206, allocations: 490.6 kB / 498.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.531e-05/0.1207, allocations: 7.938 kB / 498.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1209, allocations: 7.922 kB / 498.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.626e-05/0.1209, allocations: 43.64 kB / 498.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.216e-05/0.121, allocations: 11.98 kB / 498.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1211, allocations: 103.4 kB / 498.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.301e-05/0.1212, allocations: 25.08 kB / 498.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.1213, allocations: 39.75 kB / 498.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.1213, allocations: 35.8 kB / 498.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1213, allocations: 4 kB / 498.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.1214, allocations: 4 kB / 498.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.1214, allocations: 15.92 kB / 498.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.1214, allocations: 43.75 kB / 498.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.527e-05/0.1215, allocations: 83.66 kB / 498.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1215, allocations: 0 / 498.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1216, allocations: 0 / 498.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1216, allocations: 0 / 498.6 MB, free: 13.85 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.0003678/0.1219, allocations: 406.9 kB / 499 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.122, allocations: 12.59 kB / 499 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.122, allocations: 8.844 kB / 499 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.1222, allocations: 220 kB / 499.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1222, allocations: 4.375 kB / 499.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1222, allocations: 12.31 kB / 499.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.1223, allocations: 61.88 kB / 499.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.1224, allocations: 0 / 499.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1224, allocations: 4 kB / 499.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1224, allocations: 4 kB / 499.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.1224, allocations: 23.98 kB / 499.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.1228, allocations: 483.1 kB / 499.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.1229, allocations: 169.1 kB / 499.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.1229, allocations: 80.14 kB / 0.4883 GB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.123, allocations: 79.22 kB / 0.4884 GB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.123, allocations: 109.8 kB / 0.4885 GB, free: 12.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.123, allocations: 3.938 kB / 0.4885 GB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.95e-05/0.1231, allocations: 49.64 kB / 0.4885 GB, free: 11.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1231, allocations: 130.6 kB / 0.4887 GB, free: 11.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1233, allocations: 183.1 kB / 0.4888 GB, free: 11.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.1233, allocations: 25.7 kB / 0.4889 GB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1234, allocations: 116 kB / 0.489 GB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.1234, allocations: 0 / 0.489 GB, free: 11.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.1234, allocations: 13.72 kB / 0.489 GB, free: 11.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.1235, allocations: 322.8 kB / 0.4893 GB, free: 11.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.1235, allocations: 4.109 kB / 0.4893 GB, free: 11.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.1235, allocations: 11.86 kB / 0.4893 GB, free: 11.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.1235, allocations: 8.859 kB / 0.4893 GB, free: 11.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1236, allocations: 0 / 0.4893 GB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.346e-05/0.1236, allocations: 45.67 kB / 0.4894 GB, free: 11.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.1237, allocations: 8 kB / 0.4894 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1237, allocations: 0 / 0.4894 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.1237, allocations: 0 / 0.4894 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.115e-05/0.1237, allocations: 3.938 kB / 0.4894 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1237, allocations: 0 / 0.4894 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.748e-05/0.1238, allocations: 7.906 kB / 0.4894 GB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.1238, allocations: 0 / 0.4894 GB, free: 11.06 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 7.933e-05/0.1239, allocations: 197.1 kB / 0.4896 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.1239, allocations: 112.8 kB / 0.4897 GB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.124, allocations: 113.5 kB / 0.4898 GB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.565e-05/0.124, allocations: 192.1 kB / 0.49 GB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.253e-05/0.1241, allocations: 176.3 kB / 0.4901 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.381e-05/0.1241, allocations: 176.3 kB / 0.4903 GB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.1243, allocations: 441.1 kB / 0.4907 GB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.1244, allocations: 101 kB / 0.4908 GB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.1244, allocations: 108.9 kB / 0.4909 GB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.212e-05/0.1244, allocations: 180.2 kB / 0.4911 GB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/0.1245, allocations: 184.3 kB / 0.4913 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.145e-05/0.1245, allocations: 184.1 kB / 0.4914 GB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.462e-05/0.1246, allocations: 180.3 kB / 0.4916 GB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.911e-05/0.1247, allocations: 319.7 kB / 0.4919 GB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.1248, allocations: 193.8 kB / 0.4921 GB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.1248, allocations: 176.3 kB / 0.4923 GB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.1249, allocations: 116.9 kB / 0.4924 GB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.125, allocations: 184.2 kB / 0.4926 GB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.125, allocations: 101 kB / 0.4927 GB, free: 7.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.109e-05/0.1251, allocations: 133.2 kB / 0.4928 GB, free: 7.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1251, allocations: 0 / 0.4928 GB, free: 7.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.1253, allocations: 15.94 kB / 0.4928 GB, free: 7.332 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 8.153e-05/0.1254, allocations: 182.4 kB / 0.493 GB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.43e-05/0.1255, allocations: 7.938 kB / 0.493 GB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1255, allocations: 0 / 0.493 GB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.1255, allocations: 3.938 kB / 0.493 GB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.126, allocations: 0.5654 MB / 0.4935 GB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.1264, allocations: 305.9 kB / 0.4938 GB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.1266, allocations: 0.6965 MB / 0.4945 GB, free: 5.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.921e-05/0.1266, allocations: 8.641 kB / 0.4945 GB, free: 5.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.1266, allocations: 11.44 kB / 0.4945 GB, free: 5.492 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1266, allocations: 4 kB / 0.4945 GB, free: 5.488 MB / 366.1 MB Notification: Performance of Templates: time 0.003058/0.1297, allocations: 1.467 MB / 0.496 GB, free: 4.055 MB / 366.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)