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/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.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",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.07483/0.07483, allocations: 15.28 MB / 30.78 MB, free: 4.215 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.0008821/0.0008822, allocations: 106.7 kB / 35.78 MB, free: 3.234 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.0009699/0.0009699, allocations: 197 kB / 40.88 MB, free: 7.223 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.15/1.15, allocations: 222.9 MB / 268.7 MB, free: 6.906 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1091/0.1091, allocations: 23.37 MB / 346.4 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 111.8 kB / 418.3 MB, free: 30.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0747/0.0765, allocations: 59.36 MB / 477.7 MB, free: 2.898 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.02613/0.1026, allocations: 21.7 MB / 499.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006232/0.1033, allocations: 430.8 kB / 499.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/0.1034, allocations: 7.938 kB / 499.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.004e-05/0.1035, allocations: 15.86 kB / 499.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.1035, allocations: 35.64 kB / 499.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.082e-05/0.1036, allocations: 11.98 kB / 499.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1037, allocations: 119.3 kB / 500 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.908e-05/0.1038, allocations: 25.09 kB / 0.4883 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.1039, allocations: 43.8 kB / 0.4883 GB, free: 12.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.1039, allocations: 31.8 kB / 0.4884 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1039, allocations: 8 kB / 0.4884 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.104, allocations: 4 kB / 0.4884 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.104, allocations: 11.94 kB / 0.4884 GB, free: 12.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.104, allocations: 47.69 kB / 0.4884 GB, free: 12.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.423e-05/0.1041, allocations: 87.66 kB / 0.4885 GB, free: 12.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1041, allocations: 4 kB / 0.4885 GB, free: 12.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.1041, allocations: 0 / 0.4885 GB, free: 12.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1041, allocations: 4 kB / 0.4885 GB, free: 12.46 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.000373/0.1045, allocations: 409.3 kB / 0.4889 GB, free: 12.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.1046, allocations: 8.031 kB / 0.4889 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.1046, allocations: 42.73 kB / 0.489 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.1046, allocations: 8.844 kB / 0.489 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1048, allocations: 215.9 kB / 0.4892 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1048, allocations: 4.375 kB / 0.4892 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-06/0.1048, allocations: 8.375 kB / 0.4892 GB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.048e-05/0.1049, allocations: 65.75 kB / 0.4893 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.105, allocations: 0 / 0.4893 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.105, allocations: 0 / 0.4893 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.105, allocations: 4 kB / 0.4893 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.477e-05/0.105, allocations: 27.92 kB / 0.4893 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.1054, allocations: 483 kB / 0.4897 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.1055, allocations: 177.1 kB / 0.4899 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.1055, allocations: 80.14 kB / 0.49 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1056, allocations: 79.28 kB / 0.4901 GB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1056, allocations: 113.8 kB / 0.4902 GB, free: 10.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1056, allocations: 0 / 0.4902 GB, free: 10.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 5.865e-05/0.1057, allocations: 37.55 kB / 0.4902 GB, free: 10.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1057, allocations: 130.7 kB / 0.4903 GB, free: 10.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1059, allocations: 179.7 kB / 0.4905 GB, free: 10.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.465e-06/0.1059, allocations: 25.7 kB / 0.4905 GB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.1059, allocations: 112 kB / 0.4906 GB, free: 10.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.1059, allocations: 0 / 0.4906 GB, free: 10.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.106, allocations: 17.72 kB / 0.4907 GB, free: 10.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.1061, allocations: 322.8 kB / 0.491 GB, free: 9.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.1061, allocations: 0 / 0.491 GB, free: 9.734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.1061, allocations: 4 kB / 0.491 GB, free: 9.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.1061, allocations: 20.8 kB / 0.491 GB, free: 9.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1061, allocations: 0 / 0.491 GB, free: 9.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.819e-05/0.1062, allocations: 41.59 kB / 0.491 GB, free: 9.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.1062, allocations: 8 kB / 0.491 GB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.1062, allocations: 4.094 kB / 0.491 GB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.1062, allocations: 3.938 kB / 0.491 GB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.357e-05/0.1063, allocations: 0 / 0.491 GB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.1063, allocations: 0 / 0.491 GB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.1063, allocations: 4 kB / 0.491 GB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.1063, allocations: 0 / 0.491 GB, free: 9.641 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.618e-05/0.1064, allocations: 189.1 kB / 0.4912 GB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.1065, allocations: 120.7 kB / 0.4913 GB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.1065, allocations: 117.5 kB / 0.4914 GB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.888e-05/0.1066, allocations: 184.1 kB / 0.4916 GB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.336e-05/0.1066, allocations: 184.4 kB / 0.4918 GB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/0.1067, allocations: 184.2 kB / 0.492 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1069, allocations: 437.1 kB / 0.4924 GB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.761e-05/0.1069, allocations: 109 kB / 0.4925 GB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.107, allocations: 108.9 kB / 0.4926 GB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.653e-05/0.107, allocations: 176.3 kB / 0.4928 GB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.1071, allocations: 184.2 kB / 0.4929 GB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.887e-05/0.1071, allocations: 184.1 kB / 0.4931 GB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.961e-05/0.1072, allocations: 180.3 kB / 0.4933 GB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.1073, allocations: 315.7 kB / 0.4936 GB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.1074, allocations: 197.9 kB / 0.4938 GB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.1074, allocations: 180.2 kB / 0.494 GB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.1075, allocations: 104.9 kB / 0.4941 GB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.1076, allocations: 188.2 kB / 0.4942 GB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.1076, allocations: 105 kB / 0.4943 GB, free: 6.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.1077, allocations: 133.2 kB / 0.4945 GB, free: 5.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1077, allocations: 0 / 0.4945 GB, free: 5.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.1079, allocations: 12 kB / 0.4945 GB, free: 5.902 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.0002875/0.1082, allocations: 0.8202 MB / 0.4953 GB, free: 5.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.625e-05/0.1083, allocations: 4 kB / 0.4953 GB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1083, allocations: 0 / 0.4953 GB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.1083, allocations: 4 kB / 0.4953 GB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.1088, allocations: 0.5024 MB / 0.4958 GB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1099, allocations: 1.643 MB / 0.4974 GB, free: 2.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.1101, allocations: 0.6963 MB / 0.4981 GB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.26e-05/0.1102, allocations: 4.656 kB / 0.4981 GB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.1102, allocations: 31.42 kB / 0.4981 GB, free: 2.055 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1102, allocations: 0 / 0.4981 GB, free: 2.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.1266, allocations: 3.001 MB / 0.501 GB, free: 15.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.191/6.318, allocations: 6.75 kB / 0.501 GB, free: 15.1 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)