Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.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.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",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.001436/0.001436, allocations: 172.5 kB / 7.646 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.391/1.391, allocations: 221.5 MB / 229.6 MB, free: 7.531 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.001347/0.001347, allocations: 94.05 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2204/0.2204, allocations: 37.1 MB / 368.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.704e-05, allocations: 7.938 kB / 434.7 MB, free: 23.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 60.08 MB / 494.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.5892, allocations: 91.21 MB / 0.5723 GB, free: 8.277 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.5895, allocations: 65.28 kB / 0.5723 GB, free: 8.246 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 body.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$body. 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.007995/0.5975, allocations: 3.109 MB / 0.5754 GB, free: 5.688 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5975, allocations: 4 kB / 0.5754 GB, free: 5.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.5975, allocations: 7.984 kB / 0.5754 GB, free: 5.676 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000483/0.598, allocations: 393.3 kB / 0.5758 GB, free: 5.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5981, allocations: 8.031 kB / 0.5758 GB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.5981, allocations: 11.91 kB / 0.5758 GB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.5984, allocations: 236.8 kB / 0.576 GB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.5984, allocations: 4 kB / 0.576 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.5985, allocations: 4 kB / 0.576 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.782e-05/0.5986, allocations: 35.5 kB / 0.5761 GB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.5987, allocations: 55.56 kB / 0.5761 GB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5988, allocations: 0 / 0.5761 GB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.5988, allocations: 4 kB / 0.5761 GB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5988, allocations: 0 / 0.5761 GB, free: 4.891 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.5994, allocations: 458.4 kB / 0.5765 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.5995, allocations: 57.88 kB / 0.5766 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.5996, allocations: 23.92 kB / 0.5766 GB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.5996, allocations: 0 / 0.5766 GB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.5996, allocations: 34.55 kB / 0.5767 GB, free: 4.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.5996, allocations: 0 / 0.5767 GB, free: 4.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001866/0.5998, allocations: 65.06 kB / 0.5767 GB, free: 4.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.5999, allocations: 58.78 kB / 0.5768 GB, free: 4.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.6, allocations: 148.2 kB / 0.5769 GB, free: 4.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.6, allocations: 25.7 kB / 0.5769 GB, free: 4.012 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.6001, allocations: 114.1 kB / 0.5771 GB, free: 3.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.6001, allocations: 19.88 kB / 0.5771 GB, free: 3.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.6002, allocations: 0 / 0.5771 GB, free: 3.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6003, allocations: 330.5 kB / 0.5774 GB, free: 3.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.6003, allocations: 11.56 kB / 0.5774 GB, free: 3.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.6004, allocations: 11.31 kB / 0.5774 GB, free: 3.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.6004, allocations: 13.94 kB / 0.5774 GB, free: 3.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6004, allocations: 0 / 0.5774 GB, free: 3.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001078/0.6005, allocations: 66.47 kB / 0.5775 GB, free: 3.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6005, allocations: 4 kB / 0.5775 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6006, allocations: 0 / 0.5775 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6006, allocations: 4 kB / 0.5775 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.6007, allocations: 8 kB / 0.5775 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6007, allocations: 3.953 kB / 0.5775 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.6007, allocations: 7.906 kB / 0.5775 GB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.6007, allocations: 3.5 kB / 0.5775 GB, free: 3.453 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(start = muscle.relativeHeat_start unit = "J" nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real 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 (6): * Single equations (assignments): 6 * 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 0.0001344/0.6009, allocations: 112.9 kB / 0.5776 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001092/0.601, allocations: 66.91 kB / 0.5777 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.601, allocations: 11.91 kB / 0.5777 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.6011, allocations: 16.92 kB / 0.5777 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6011, allocations: 3.953 kB / 0.5777 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6011, allocations: 0 / 0.5777 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6011, allocations: 3.984 kB / 0.5777 GB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.6013, allocations: 187.8 kB / 0.5779 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6014, allocations: 0 / 0.5779 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.6014, allocations: 8 kB / 0.5779 GB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6014, allocations: 0 / 0.5779 GB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.6015, allocations: 0 / 0.5779 GB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.6015, allocations: 4 kB / 0.5779 GB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6015, allocations: 256 / 0.5779 GB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.6017, allocations: 186.8 kB / 0.5781 GB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.6017, allocations: 104.6 kB / 0.5782 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.6018, allocations: 0 / 0.5782 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.6018, allocations: 0 / 0.5782 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.6019, allocations: 0 / 0.5782 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.6019, allocations: 4 kB / 0.5782 GB, free: 2.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.444e-05/0.602, allocations: 121.8 kB / 0.5783 GB, free: 2.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.602, allocations: 0 / 0.5783 GB, free: 2.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.6022, allocations: 24 kB / 0.5783 GB, free: 2.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (muscle.relativeHeat) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0004844/0.6027, allocations: 0.7094 MB / 0.579 GB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.6028, allocations: 29.88 kB / 0.5791 GB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6028, allocations: 0 / 0.5791 GB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/0.6029, allocations: 18 kB / 0.5791 GB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.6032, allocations: 42.89 kB / 0.5791 GB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.6038, allocations: 248.6 kB / 0.5793 GB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.6042, allocations: 0.7157 MB / 0.58 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.6042, allocations: 8.891 kB / 0.5801 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.6043, allocations: 37.67 kB / 0.5801 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6043, allocations: 0 / 0.5801 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.6273, allocations: 2.41 MB / 0.5824 GB, free: 14.4 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/0.6277, allocations: 133.2 kB / 0.5826 GB, free: 14.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.276, allocations: 7.875 kB / 0.5826 GB, free: 14.2 MB / 394.7 MB (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1)