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/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.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",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.0838/0.0838, allocations: 15.29 MB / 30.79 MB, free: 4.078 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.0009704/0.0009705, allocations: 107.1 kB / 35.77 MB, free: 3.281 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.001144/0.001144, allocations: 193.1 kB / 40.88 MB, free: 7.195 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.22/1.22, allocations: 222.9 MB / 268.7 MB, free: 6.879 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1136/0.1136, allocations: 23.35 MB / 346.4 MB, free: 0.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 111.8 kB / 418.3 MB, free: 30.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07783/0.07962, allocations: 59.36 MB / 477.7 MB, free: 2.891 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.02578/0.1054, allocations: 21.7 MB / 499.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.1061, allocations: 427 kB / 499.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.1062, allocations: 7.938 kB / 499.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.538e-05/0.1063, allocations: 23.78 kB / 499.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.998e-05/0.1064, allocations: 35.64 kB / 499.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.191e-05/0.1064, allocations: 11.98 kB / 499.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.1066, allocations: 111.3 kB / 500 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.1067, allocations: 29.09 kB / 0.4883 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.1067, allocations: 35.88 kB / 0.4883 GB, free: 12.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.1068, allocations: 31.8 kB / 0.4884 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1068, allocations: 8 kB / 0.4884 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.1068, allocations: 4 kB / 0.4884 GB, free: 12.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.1068, allocations: 11.92 kB / 0.4884 GB, free: 12.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.1069, allocations: 51.69 kB / 0.4884 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.107, allocations: 91.59 kB / 0.4885 GB, free: 12.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.107, allocations: 3.938 kB / 0.4885 GB, free: 12.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.107, allocations: 0 / 0.4885 GB, free: 12.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.107, allocations: 4 kB / 0.4885 GB, free: 12.45 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.000381/0.1074, allocations: 409.4 kB / 0.4889 GB, free: 12.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1074, allocations: 8.031 kB / 0.4889 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.684e-05/0.1075, allocations: 34.75 kB / 0.489 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.1075, allocations: 12.84 kB / 0.489 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1077, allocations: 215.9 kB / 0.4892 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1077, allocations: 4.375 kB / 0.4892 GB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1077, allocations: 4.375 kB / 0.4892 GB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.1078, allocations: 69.73 kB / 0.4892 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1078, allocations: 0 / 0.4892 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1078, allocations: 4 kB / 0.4892 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1079, allocations: 4 kB / 0.4893 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.556e-05/0.1079, allocations: 20 kB / 0.4893 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.1083, allocations: 495 kB / 0.4897 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/0.1084, allocations: 181.1 kB / 0.4899 GB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.1084, allocations: 80.14 kB / 0.49 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1084, allocations: 79.27 kB / 0.4901 GB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.1085, allocations: 109.8 kB / 0.4902 GB, free: 10.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1085, allocations: 4 kB / 0.4902 GB, free: 10.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 5.839e-05/0.1086, allocations: 37.55 kB / 0.4902 GB, free: 10.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1086, allocations: 134.6 kB / 0.4903 GB, free: 10.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1088, allocations: 179.7 kB / 0.4905 GB, free: 10.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.1088, allocations: 25.7 kB / 0.4905 GB, free: 10.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.1088, allocations: 112 kB / 0.4906 GB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.1088, allocations: 0 / 0.4906 GB, free: 10.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.1089, allocations: 9.719 kB / 0.4907 GB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.109, allocations: 330.8 kB / 0.491 GB, free: 9.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.109, allocations: 0 / 0.491 GB, free: 9.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.109, allocations: 4 kB / 0.491 GB, free: 9.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.042e-05/0.109, allocations: 8.859 kB / 0.491 GB, free: 9.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.109, allocations: 0 / 0.491 GB, free: 9.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.629e-05/0.1091, allocations: 41.61 kB / 0.491 GB, free: 9.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1091, allocations: 15.92 kB / 0.491 GB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1091, allocations: 0 / 0.491 GB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1092, allocations: 8.031 kB / 0.491 GB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.452e-05/0.1092, allocations: 0 / 0.491 GB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.1092, allocations: 0 / 0.491 GB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.1092, allocations: 4 kB / 0.491 GB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1092, allocations: 0 / 0.491 GB, free: 9.621 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.332e-05/0.1093, allocations: 189.1 kB / 0.4912 GB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.1094, allocations: 116.7 kB / 0.4913 GB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.1094, allocations: 121.5 kB / 0.4915 GB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.326e-05/0.1095, allocations: 184.2 kB / 0.4916 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.903e-05/0.1096, allocations: 180.3 kB / 0.4918 GB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.688e-05/0.1096, allocations: 180.3 kB / 0.492 GB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.1098, allocations: 445.1 kB / 0.4924 GB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/0.1099, allocations: 104.9 kB / 0.4925 GB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.1099, allocations: 105 kB / 0.4926 GB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.856e-05/0.11, allocations: 176.3 kB / 0.4928 GB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.11, allocations: 180.2 kB / 0.4929 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.037e-05/0.1101, allocations: 184.2 kB / 0.4931 GB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.226e-05/0.1101, allocations: 188.2 kB / 0.4933 GB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1102, allocations: 311.7 kB / 0.4936 GB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.1103, allocations: 197.8 kB / 0.4938 GB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.1104, allocations: 180.3 kB / 0.494 GB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.1105, allocations: 108.9 kB / 0.4941 GB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.1105, allocations: 180.3 kB / 0.4942 GB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.1106, allocations: 109 kB / 0.4943 GB, free: 6.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.724e-05/0.1107, allocations: 141.1 kB / 0.4945 GB, free: 5.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1107, allocations: 0 / 0.4945 GB, free: 5.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.1109, allocations: 12 kB / 0.4945 GB, free: 5.883 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 0.000308/0.1112, allocations: 0.8164 MB / 0.4953 GB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.625e-05/0.1112, allocations: 4 kB / 0.4953 GB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1112, allocations: 0 / 0.4953 GB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.1112, allocations: 7.938 kB / 0.4953 GB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.1117, allocations: 0.4983 MB / 0.4958 GB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1129, allocations: 1.635 MB / 0.4974 GB, free: 2.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.1131, allocations: 0.6963 MB / 0.498 GB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.747e-05/0.1131, allocations: 16.61 kB / 0.4981 GB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.1132, allocations: 23.44 kB / 0.4981 GB, free: 2.043 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1132, allocations: 0 / 0.4981 GB, free: 2.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.1295, allocations: 2.995 MB / 0.501 GB, free: 15.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.327/6.456, allocations: 15.33 kB / 0.501 GB, free: 15.08 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)