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: translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0103/0.0103, allocations: 171.2 kB / 15.11 MB, free: 5.973 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.444/1.444, allocations: 223.2 MB / 239 MB, free: 20 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.0009232, allocations: 100.8 kB / 290.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2446/0.2446, allocations: 37.08 MB / 378.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8 kB / 449 MB, free: 79.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 60.07 MB / 0.4971 GB, free: 19.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.571, allocations: 91.92 MB / 0.5869 GB, free: 9.914 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.5712, allocations: 73.62 kB / 0.587 GB, free: 9.879 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.007021/0.5783, allocations: 3.14 MB / 0.59 GB, free: 7.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5783, allocations: 3.984 kB / 0.59 GB, free: 7.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.5783, allocations: 8 kB / 0.59 GB, free: 7.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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005141/0.5788, allocations: 409.2 kB / 0.5904 GB, free: 6.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5789, allocations: 16 kB / 0.5904 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.579, allocations: 15.81 kB / 0.5905 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.5793, allocations: 232.1 kB / 0.5907 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5793, allocations: 3.562 kB / 0.5907 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.5793, allocations: 4 kB / 0.5907 GB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.5795, allocations: 78.67 kB / 0.5908 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5795, allocations: 2.953 kB / 0.5908 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5795, allocations: 4 kB / 0.5908 GB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5795, allocations: 0 / 0.5908 GB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.657e-05/0.5796, allocations: 45.66 kB / 0.5908 GB, free: 6.547 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00061/0.5803, allocations: 486.4 kB / 0.5913 GB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.5804, allocations: 58.83 kB / 0.5913 GB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.5804, allocations: 0 / 0.5913 GB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.5804, allocations: 34.55 kB / 0.5914 GB, free: 5.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.5804, allocations: 0 / 0.5914 GB, free: 5.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002131/0.5806, allocations: 86.42 kB / 0.5914 GB, free: 5.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.5807, allocations: 59.41 kB / 0.5915 GB, free: 5.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.5808, allocations: 170.7 kB / 0.5917 GB, free: 5.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.5808, allocations: 25.7 kB / 0.5917 GB, free: 5.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.5809, allocations: 110 kB / 0.5918 GB, free: 5.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.5809, allocations: 22.94 kB / 0.5918 GB, free: 5.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.5809, allocations: 0 / 0.5918 GB, free: 5.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.581, allocations: 329 kB / 0.5921 GB, free: 5.184 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/0.581, allocations: 11.8 kB / 0.5921 GB, free: 5.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.052e-05/0.5811, allocations: 11.75 kB / 0.5922 GB, free: 5.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.5811, allocations: 18.62 kB / 0.5922 GB, free: 5.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5811, allocations: 0 / 0.5922 GB, free: 5.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.83e-05/0.5812, allocations: 73.94 kB / 0.5922 GB, free: 5.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5812, allocations: 8 kB / 0.5923 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5813, allocations: 0 / 0.5923 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.5813, allocations: 0 / 0.5923 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.5814, allocations: 15.89 kB / 0.5923 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5814, allocations: 0 / 0.5923 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.5815, allocations: 10.05 kB / 0.5923 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.5815, allocations: 4 kB / 0.5923 GB, free: 5.055 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(start = muscle.relativeHeat_start unit = "J" fixed = true 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 () * Number of clocked 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.0001701/0.5816, allocations: 125.4 kB / 0.5924 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.5817, allocations: 15.81 kB / 0.5924 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.5817, allocations: 15.88 kB / 0.5924 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5817, allocations: 0 / 0.5924 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5817, allocations: 3.953 kB / 0.5924 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5818, allocations: 3.984 kB / 0.5924 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.5819, allocations: 202 kB / 0.5926 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5819, allocations: 448 / 0.5926 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.582, allocations: 12 kB / 0.5926 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.582, allocations: 0 / 0.5926 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.5821, allocations: 4 kB / 0.5926 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5821, allocations: 0.625 kB / 0.5926 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5821, allocations: 3.984 kB / 0.5927 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.5823, allocations: 194.9 kB / 0.5928 GB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.5823, allocations: 96.58 kB / 0.5929 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.5824, allocations: 3.984 kB / 0.5929 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.5824, allocations: 4.062 kB / 0.5929 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.5825, allocations: 7.562 kB / 0.5929 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.5825, allocations: 0 / 0.5929 GB, free: 4.352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.5826, allocations: 136.2 kB / 0.5931 GB, free: 4.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5826, allocations: 0 / 0.5931 GB, free: 4.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.5828, allocations: 23.95 kB / 0.5931 GB, free: 4.211 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 () * Number of clocked 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 9.603e-05/0.5829, allocations: 95.25 kB / 0.5932 GB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.5831, allocations: 39.05 kB / 0.5932 GB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5831, allocations: 4 kB / 0.5932 GB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.577e-05/0.5831, allocations: 15.56 kB / 0.5932 GB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.5835, allocations: 59.11 kB / 0.5933 GB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.584, allocations: 388.9 kB / 0.5937 GB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.5842, allocations: 0.7087 MB / 0.5944 GB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.358e-05/0.5843, allocations: 13.08 kB / 0.5944 GB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.5843, allocations: 15.44 kB / 0.5944 GB, free: 2.855 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5843, allocations: 0 / 0.5944 GB, free: 2.855 MB / 378.7 MB Notification: Performance of Templates: time 0.004086/0.5884, allocations: 1.663 MB / 0.596 GB, free: 1.254 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1)