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.09414/0.09414, allocations: 15.29 MB / 30.41 MB, free: 4.371 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.001099/0.001099, allocations: 95.62 kB / 35.37 MB, free: 3.453 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.001316/0.001316, allocations: 193.1 kB / 40.46 MB, free: 7.543 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.591/1.591, allocations: 222.9 MB / 268.3 MB, free: 7.578 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1585/0.1585, allocations: 23.35 MB / 346 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 107.8 kB / 417.6 MB, free: 30.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1231, allocations: 59.37 MB / 476.9 MB, free: 3.402 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.03471/0.1579, allocations: 20.87 MB / 497.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1589, allocations: 474.7 kB / 498.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1591, allocations: 7.938 kB / 498.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.1592, allocations: 19.86 kB / 498.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/0.1593, allocations: 35.69 kB / 498.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.844e-05/0.1594, allocations: 8 kB / 498.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1595, allocations: 111.3 kB / 498.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1596, allocations: 29.03 kB / 498.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.1597, allocations: 31.86 kB / 498.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.1598, allocations: 39.73 kB / 498.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1598, allocations: 11.98 kB / 498.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.1598, allocations: 0 / 498.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.1599, allocations: 11.94 kB / 498.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.1599, allocations: 47.75 kB / 498.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.1601, allocations: 79.66 kB / 498.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1601, allocations: 4 kB / 498.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1601, allocations: 0 / 498.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1601, allocations: 0 / 498.7 MB, free: 13.75 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.0004875/0.1606, allocations: 406.9 kB / 499.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.588e-05/0.1607, allocations: 8.594 kB / 499.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.1607, allocations: 46.73 kB / 499.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.1608, allocations: 8.844 kB / 499.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.161, allocations: 215.9 kB / 499.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.161, allocations: 12.38 kB / 499.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.161, allocations: 4.375 kB / 499.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1612, allocations: 61.75 kB / 499.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1612, allocations: 0 / 499.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1612, allocations: 0 / 499.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1612, allocations: 4 kB / 499.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.1613, allocations: 23.98 kB / 499.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.1618, allocations: 479.1 kB / 499.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.394e-05/0.1619, allocations: 177.1 kB / 0.4884 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.1619, allocations: 84.17 kB / 0.4885 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.162, allocations: 79.28 kB / 0.4885 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.162, allocations: 105.8 kB / 0.4886 GB, free: 11.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.162, allocations: 0 / 0.4886 GB, free: 11.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.444e-05/0.1621, allocations: 53.47 kB / 0.4887 GB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.1622, allocations: 130.6 kB / 0.4888 GB, free: 11.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1624, allocations: 187.1 kB / 0.489 GB, free: 11.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1624, allocations: 29.7 kB / 0.489 GB, free: 11.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.1625, allocations: 112 kB / 0.4891 GB, free: 11.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.1625, allocations: 0 / 0.4891 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.1625, allocations: 13.72 kB / 0.4891 GB, free: 11.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1626, allocations: 318.8 kB / 0.4895 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.1626, allocations: 4 kB / 0.4895 GB, free: 11.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-06/0.1627, allocations: 4 kB / 0.4895 GB, free: 11.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.1627, allocations: 12.92 kB / 0.4895 GB, free: 10.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1627, allocations: 0 / 0.4895 GB, free: 10.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001013/0.1628, allocations: 45.53 kB / 0.4895 GB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1628, allocations: 10.66 kB / 0.4895 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1628, allocations: 0 / 0.4895 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1629, allocations: 3.938 kB / 0.4895 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.1629, allocations: 112 / 0.4895 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1629, allocations: 3.938 kB / 0.4895 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.163, allocations: 11.91 kB / 0.4895 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.163, allocations: 0 / 0.4895 GB, free: 10.91 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 9.259e-05/0.1631, allocations: 193.2 kB / 0.4897 GB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.1632, allocations: 112.9 kB / 0.4898 GB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.1632, allocations: 113.5 kB / 0.4899 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.022e-05/0.1633, allocations: 188.2 kB / 0.4901 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-05/0.1634, allocations: 180.2 kB / 0.4903 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.349e-05/0.1634, allocations: 184.2 kB / 0.4905 GB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.1637, allocations: 433.2 kB / 0.4909 GB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.149e-05/0.1637, allocations: 104.9 kB / 0.491 GB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.1638, allocations: 101 kB / 0.4911 GB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.255e-05/0.1639, allocations: 180.2 kB / 0.4913 GB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.1639, allocations: 184.2 kB / 0.4914 GB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.022e-05/0.164, allocations: 188.2 kB / 0.4916 GB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.964e-05/0.1641, allocations: 180.2 kB / 0.4918 GB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.1642, allocations: 311.7 kB / 0.4921 GB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.1643, allocations: 197.9 kB / 0.4923 GB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.1644, allocations: 184.3 kB / 0.4924 GB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.1645, allocations: 112.9 kB / 0.4925 GB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.1646, allocations: 180.2 kB / 0.4927 GB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.1646, allocations: 104.9 kB / 0.4928 GB, free: 7.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1648, allocations: 137.2 kB / 0.493 GB, free: 7.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1648, allocations: 0 / 0.493 GB, free: 7.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.165, allocations: 12 kB / 0.493 GB, free: 7.188 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.0003957/0.1654, allocations: 0.8203 MB / 0.4938 GB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.324e-05/0.1655, allocations: 0 / 0.4938 GB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1655, allocations: 7.938 kB / 0.4938 GB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.1655, allocations: 0 / 0.4938 GB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.1662, allocations: 0.579 MB / 0.4943 GB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1677, allocations: 1.655 MB / 0.496 GB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.168, allocations: 0.7002 MB / 0.4966 GB, free: 3.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.591e-05/0.1681, allocations: 8.656 kB / 0.4966 GB, free: 3.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.1681, allocations: 27.42 kB / 0.4967 GB, free: 3.254 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1681, allocations: 0 / 0.4967 GB, free: 3.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.1832, allocations: 2.837 MB / 0.4994 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/0.1835, allocations: 211 kB / 0.4996 GB, free: 252 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.96, allocations: 0 / 0.4996 GB, free: 252 kB / 366.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)