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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008774/0.0008773, allocations: 94.09 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2211/0.2211, allocations: 37.09 MB / 368.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.13e-05, allocations: 3.984 kB / 434.7 MB, free: 23.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 60.08 MB / 494.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5925, allocations: 90.42 MB / 0.5715 GB, free: 9.027 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.5927, allocations: 74.08 kB / 0.5716 GB, free: 8.988 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System core.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$core. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System skin.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$skin. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.007586/0.6003, allocations: 3.195 MB / 0.5747 GB, free: 6.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6003, allocations: 3.984 kB / 0.5747 GB, free: 6.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.6004, allocations: 4 kB / 0.5747 GB, free: 6.371 MB / 378.7 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.0003714/0.6007, allocations: 400.9 kB / 0.5751 GB, free: 5.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.6008, allocations: 8.031 kB / 0.5751 GB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.6008, allocations: 19.81 kB / 0.5751 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.6012, allocations: 264 kB / 0.5754 GB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.6012, allocations: 0.75 kB / 0.5754 GB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.6012, allocations: 4 kB / 0.5754 GB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.816e-05/0.6013, allocations: 21.06 kB / 0.5754 GB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.087e-05/0.6014, allocations: 49.5 kB / 0.5754 GB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6014, allocations: 3.938 kB / 0.5754 GB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.6014, allocations: 0 / 0.5754 GB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6014, allocations: 0 / 0.5754 GB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.6019, allocations: 467.3 kB / 0.5759 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.307e-05/0.602, allocations: 173.1 kB / 0.5761 GB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.6021, allocations: 80.14 kB / 0.5761 GB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.6021, allocations: 79.28 kB / 0.5762 GB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.6022, allocations: 109.8 kB / 0.5763 GB, free: 4.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.6022, allocations: 0 / 0.5763 GB, free: 4.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.843e-05/0.6022, allocations: 45.47 kB / 0.5764 GB, free: 4.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.6023, allocations: 58.72 kB / 0.5764 GB, free: 4.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.6025, allocations: 170.9 kB / 0.5766 GB, free: 4.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.6025, allocations: 25.7 kB / 0.5766 GB, free: 4.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.6026, allocations: 138.9 kB / 0.5767 GB, free: 4.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.6026, allocations: 0 / 0.5767 GB, free: 4.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.6026, allocations: 0 / 0.5767 GB, free: 4.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6027, allocations: 326.1 kB / 0.577 GB, free: 3.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.6027, allocations: 0 / 0.577 GB, free: 3.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.6027, allocations: 4.109 kB / 0.577 GB, free: 3.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.535e-05/0.6027, allocations: 3.938 kB / 0.577 GB, free: 3.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6027, allocations: 0 / 0.577 GB, free: 3.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000104/0.6028, allocations: 49.56 kB / 0.5771 GB, free: 3.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6029, allocations: 8 kB / 0.5771 GB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6029, allocations: 4 kB / 0.5771 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.6029, allocations: 0 / 0.5771 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.6029, allocations: 0 / 0.5771 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.603, allocations: 3.953 kB / 0.5771 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.013e-05/0.603, allocations: 3.906 kB / 0.5771 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.603, allocations: 0 / 0.5771 GB, free: 3.84 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.223e-05/0.6031, allocations: 186.3 kB / 0.5773 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.049e-05/0.6032, allocations: 150.8 kB / 0.5774 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.6033, allocations: 120.7 kB / 0.5776 GB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.6033, allocations: 117.8 kB / 0.5777 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.419e-05/0.6034, allocations: 180.2 kB / 0.5778 GB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.598e-05/0.6035, allocations: 176.3 kB / 0.578 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.674e-05/0.6035, allocations: 184.2 kB / 0.5782 GB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.6038, allocations: 427.2 kB / 0.5786 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/0.6038, allocations: 101 kB / 0.5787 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.6039, allocations: 108.9 kB / 0.5788 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-05/0.6039, allocations: 180.2 kB / 0.579 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-05/0.604, allocations: 176.3 kB / 0.5791 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.804e-05/0.6041, allocations: 188.2 kB / 0.5793 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.829e-05/0.6042, allocations: 180.3 kB / 0.5795 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.6043, allocations: 318.8 kB / 0.5798 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.6044, allocations: 197.8 kB / 0.58 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.6045, allocations: 184.2 kB / 0.5801 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.6046, allocations: 108.9 kB / 0.5803 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.6047, allocations: 177.1 kB / 0.5804 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.6047, allocations: 108.9 kB / 0.5805 GB, free: 152 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.6048, allocations: 141.6 kB / 0.5807 GB, free: 32 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6049, allocations: 0 / 0.5807 GB, free: 32 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.6051, allocations: 23.94 kB / 0.5807 GB, free: 8 kB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003757/0.6055, allocations: 0.812 MB / 0.5815 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.119e-05/0.6055, allocations: 7.5 kB / 0.5815 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6056, allocations: 0 / 0.5815 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.6056, allocations: 3.938 kB / 0.5815 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.6062, allocations: 0.5922 MB / 0.5821 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.6067, allocations: 248.4 kB / 0.5823 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.607, allocations: 0.724 MB / 0.583 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.525e-05/0.607, allocations: 13.19 kB / 0.583 GB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.6071, allocations: 44.05 kB / 0.5831 GB, free: 13.52 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6071, allocations: 0 / 0.5831 GB, free: 13.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.6276, allocations: 2.995 MB / 0.586 GB, free: 10.59 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.6278, allocations: 144.5 kB / 0.5861 GB, free: 10.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.216, allocations: 3.938 kB / 0.5861 GB, free: 10.39 MB / 394.7 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/linux/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)