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.00161/0.001609, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.4 MB / 234.6 MB, free: 14.42 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001012, allocations: 89.14 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.5617/0.5617, allocations: 37.05 MB / 373.5 MB, free: 45.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.045e-05, allocations: 3.938 kB / 441.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1611, allocations: 60.09 MB / 0.4899 GB, free: 3.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5413/0.7024, allocations: 91.85 MB / 0.5796 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.7027, allocations: 71.97 kB / 0.5797 GB, free: 0.7031 MB / 394.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.007714/0.7105, allocations: 3.133 MB / 0.5828 GB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.7105, allocations: 0 / 0.5828 GB, free: 13.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.7105, allocations: 4 kB / 0.5828 GB, free: 13.6 MB / 410.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.0004575/0.711, allocations: 396.4 kB / 0.5832 GB, free: 13.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.711, allocations: 8.031 kB / 0.5832 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.057e-05/0.7111, allocations: 46.55 kB / 0.5832 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.7112, allocations: 15.81 kB / 0.5832 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.7116, allocations: 234.6 kB / 0.5834 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.7116, allocations: 4 kB / 0.5834 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.7116, allocations: 8 kB / 0.5835 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.7118, allocations: 62.81 kB / 0.5835 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.7119, allocations: 6.156 kB / 0.5835 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.7119, allocations: 4 kB / 0.5835 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.7119, allocations: 0 / 0.5835 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.712, allocations: 43.98 kB / 0.5836 GB, free: 12.69 MB / 410.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.0008881/0.7129, allocations: 490 kB / 0.584 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.7131, allocations: 58.52 kB / 0.5841 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.7132, allocations: 32.97 kB / 0.5841 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.7132, allocations: 0 / 0.5841 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.7133, allocations: 38.5 kB / 0.5842 GB, free: 11.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.7133, allocations: 0 / 0.5842 GB, free: 11.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002581/0.7135, allocations: 65.52 kB / 0.5842 GB, free: 11.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.7136, allocations: 51.41 kB / 0.5843 GB, free: 11.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.7139, allocations: 165.6 kB / 0.5844 GB, free: 11.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.7139, allocations: 25.7 kB / 0.5845 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.714, allocations: 112.1 kB / 0.5846 GB, free: 11.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.7141, allocations: 23.78 kB / 0.5846 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.7141, allocations: 0 / 0.5846 GB, free: 11.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.7143, allocations: 326.8 kB / 0.5849 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.267e-05/0.7144, allocations: 15.94 kB / 0.5849 GB, free: 11.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.7144, allocations: 12 kB / 0.5849 GB, free: 11.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.519e-05/0.7145, allocations: 8 kB / 0.5849 GB, free: 11.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7145, allocations: 0 / 0.5849 GB, free: 11.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001229/0.7146, allocations: 73.59 kB / 0.585 GB, free: 11.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7146, allocations: 10.25 kB / 0.585 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.7147, allocations: 7.953 kB / 0.585 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.7147, allocations: 0 / 0.585 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.7148, allocations: 8 kB / 0.585 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.7148, allocations: 0 / 0.585 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.577e-05/0.7149, allocations: 3.906 kB / 0.585 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.7149, allocations: 8.188 kB / 0.585 GB, free: 11.05 MB / 410.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.0002274/0.7151, allocations: 116.9 kB / 0.5851 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.7152, allocations: 15.91 kB / 0.5852 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.7152, allocations: 13 kB / 0.5852 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7153, allocations: 3.953 kB / 0.5852 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7153, allocations: 0 / 0.5852 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.7153, allocations: 3.984 kB / 0.5852 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.7156, allocations: 213.5 kB / 0.5854 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.7156, allocations: 0 / 0.5854 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.7157, allocations: 8 kB / 0.5854 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.7157, allocations: 0 / 0.5854 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.7157, allocations: 0 / 0.5854 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.7157, allocations: 0.7031 kB / 0.5854 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.7157, allocations: 7.953 kB / 0.5854 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.716, allocations: 183.4 kB / 0.5856 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.7161, allocations: 96.94 kB / 0.5857 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.7161, allocations: 0 / 0.5857 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.7162, allocations: 7.938 kB / 0.5857 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.7163, allocations: 7.938 kB / 0.5857 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.7163, allocations: 0 / 0.5857 GB, free: 10.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.7164, allocations: 136.5 kB / 0.5858 GB, free: 10.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7164, allocations: 0 / 0.5858 GB, free: 10.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.7167, allocations: 24 kB / 0.5858 GB, free: 10.14 MB / 410.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.0006872/0.7174, allocations: 0.7085 MB / 0.5865 GB, free: 9.406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.7175, allocations: 44.05 kB / 0.5866 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.7175, allocations: 4.062 kB / 0.5866 GB, free: 9.359 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.7176, allocations: 16 kB / 0.5866 GB, free: 9.344 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.7181, allocations: 57.22 kB / 0.5866 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.7189, allocations: 256.8 kB / 0.5869 GB, free: 9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.7194, allocations: 0.7126 MB / 0.5876 GB, free: 8.262 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.481e-05/0.7195, allocations: 6.078 kB / 0.5876 GB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.7196, allocations: 39.42 kB / 0.5876 GB, free: 8.219 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7196, allocations: 4 kB / 0.5876 GB, free: 8.215 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.7481, allocations: 3.081 MB / 0.5906 GB, free: 5.281 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002893/0.7485, allocations: 143.3 kB / 0.5908 GB, free: 5.059 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.332, allocations: 0 / 0.5908 GB, free: 5.059 MB / 410.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)