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.08881/0.08881, allocations: 15.28 MB / 30.55 MB, free: 4.488 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.0007315/0.0007317, allocations: 102.6 kB / 35.56 MB, free: 3.422 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.0008801/0.0008804, allocations: 185.1 kB / 40.69 MB, free: 7.629 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.391/1.391, allocations: 223.2 MB / 268.9 MB, free: 8.254 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1309/0.1309, allocations: 23.38 MB / 347.7 MB, free: 128 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004394, allocations: 16 kB / 420.3 MB, free: 30.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09345, allocations: 60.47 MB / 480.8 MB, free: 1.879 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.02448/0.118, allocations: 20.53 MB / 0.4896 GB, free: 13.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.119, allocations: 470.8 kB / 0.49 GB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.1191, allocations: 11.94 kB / 0.49 GB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.666e-05/0.1192, allocations: 11.86 kB / 0.49 GB, free: 13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.118e-05/0.1193, allocations: 35.7 kB / 0.4901 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.965e-05/0.1194, allocations: 11.98 kB / 0.4901 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1195, allocations: 111.3 kB / 0.4902 GB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1197, allocations: 29.02 kB / 0.4902 GB, free: 12.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.1197, allocations: 31.88 kB / 0.4903 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.1198, allocations: 35.73 kB / 0.4903 GB, free: 12.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1198, allocations: 8 kB / 0.4903 GB, free: 12.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.1198, allocations: 4 kB / 0.4903 GB, free: 12.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.1199, allocations: 7.938 kB / 0.4903 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.1199, allocations: 73.44 kB / 0.4904 GB, free: 12.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.12, allocations: 71.66 kB / 0.4904 GB, free: 12.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.12, allocations: 7.984 kB / 0.4904 GB, free: 12.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1201, allocations: 0 / 0.4904 GB, free: 12.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1201, allocations: 0 / 0.4904 GB, free: 12.57 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.0004143/0.1205, allocations: 395 kB / 0.4908 GB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1205, allocations: 12.59 kB / 0.4908 GB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.1206, allocations: 38.73 kB / 0.4909 GB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.1206, allocations: 12.84 kB / 0.4909 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1208, allocations: 211.9 kB / 0.4911 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1209, allocations: 8.375 kB / 0.4911 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1209, allocations: 384 / 0.4911 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.121, allocations: 65.75 kB / 0.4912 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.121, allocations: 0 / 0.4912 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.121, allocations: 0 / 0.4912 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.121, allocations: 4 kB / 0.4912 GB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.995e-05/0.1211, allocations: 27.98 kB / 0.4912 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.1215, allocations: 479.1 kB / 0.4916 GB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.1216, allocations: 177.1 kB / 0.4918 GB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.1217, allocations: 84.14 kB / 0.4919 GB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1217, allocations: 79.22 kB / 0.492 GB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.1217, allocations: 109.9 kB / 0.4921 GB, free: 10.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1217, allocations: 0 / 0.4921 GB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.411e-05/0.1218, allocations: 45.55 kB / 0.4921 GB, free: 10.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1219, allocations: 130.6 kB / 0.4922 GB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.122, allocations: 187.1 kB / 0.4924 GB, free: 10.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.122, allocations: 29.7 kB / 0.4925 GB, free: 10.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.37e-05/0.1221, allocations: 112 kB / 0.4926 GB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.1221, allocations: 0 / 0.4926 GB, free: 10.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.1222, allocations: 9.719 kB / 0.4926 GB, free: 10.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.1223, allocations: 322.8 kB / 0.4929 GB, free: 9.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.1223, allocations: 0 / 0.4929 GB, free: 9.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-06/0.1223, allocations: 4 kB / 0.4929 GB, free: 9.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.716e-05/0.1223, allocations: 12.92 kB / 0.4929 GB, free: 9.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1223, allocations: 0 / 0.4929 GB, free: 9.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.1224, allocations: 49.53 kB / 0.4929 GB, free: 9.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1225, allocations: 6.5 kB / 0.4929 GB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1225, allocations: 0 / 0.4929 GB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1225, allocations: 3.938 kB / 0.4929 GB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.297e-05/0.1225, allocations: 4 kB / 0.493 GB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1225, allocations: 112 / 0.493 GB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.1226, allocations: 7.844 kB / 0.493 GB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1226, allocations: 0 / 0.493 GB, free: 9.762 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 8.188e-05/0.1227, allocations: 193.2 kB / 0.4931 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.1228, allocations: 120.9 kB / 0.4933 GB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.1228, allocations: 113.5 kB / 0.4934 GB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.8e-05/0.1229, allocations: 180.2 kB / 0.4935 GB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-05/0.1229, allocations: 184.2 kB / 0.4937 GB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/0.123, allocations: 188.2 kB / 0.4939 GB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.1232, allocations: 429.2 kB / 0.4943 GB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/0.1232, allocations: 104.9 kB / 0.4944 GB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.1233, allocations: 109 kB / 0.4945 GB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.361e-05/0.1233, allocations: 176.3 kB / 0.4947 GB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.1234, allocations: 188.2 kB / 0.4949 GB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.807e-05/0.1234, allocations: 180.2 kB / 0.495 GB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-05/0.1235, allocations: 188.2 kB / 0.4952 GB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.1236, allocations: 311.7 kB / 0.4955 GB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.1237, allocations: 201.9 kB / 0.4957 GB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.1238, allocations: 180.3 kB / 0.4959 GB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.1238, allocations: 108.9 kB / 0.496 GB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.1239, allocations: 176.3 kB / 0.4961 GB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.1239, allocations: 112.9 kB / 0.4962 GB, free: 6.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.645e-05/0.124, allocations: 137.2 kB / 0.4964 GB, free: 6.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1241, allocations: 0 / 0.4964 GB, free: 6.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000212/0.1243, allocations: 12 kB / 0.4964 GB, free: 6.023 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.0003082/0.1246, allocations: 0.8125 MB / 0.4972 GB, free: 5.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.823e-05/0.1247, allocations: 8 kB / 0.4972 GB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1247, allocations: 0 / 0.4972 GB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.1247, allocations: 3.938 kB / 0.4972 GB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.1252, allocations: 0.5724 MB / 0.4978 GB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1265, allocations: 1.675 MB / 0.4994 GB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.1267, allocations: 0.7002 MB / 0.5001 GB, free: 2.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.1268, allocations: 8.641 kB / 0.5001 GB, free: 2.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.1268, allocations: 27.42 kB / 0.5001 GB, free: 2.074 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1268, allocations: 0 / 0.5001 GB, free: 2.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.1395, allocations: 2.75 MB / 0.5028 GB, free: 15.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.1397, allocations: 194.5 kB / 0.503 GB, free: 15.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/1.979, allocations: 0 / 0.503 GB, free: 15.18 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)