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/Chemical 1.4.0-master/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/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-alpha11 (/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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.07885/0.07885, allocations: 15.26 MB / 31.21 MB, free: 3.223 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000887/0.0008871, allocations: 179.8 kB / 36.3 MB, free: 2.262 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 264.5 MB, free: 6.254 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.0007676/0.0007676, allocations: 99.73 kB / 319.9 MB, free: 3.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1054/0.1054, allocations: 20.56 MB / 395.8 MB, free: 43.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004993, allocations: 16 kB / 467.6 MB, free: 4.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2746, allocations: 59.77 MB / 0.515 GB, free: 41.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.3796, allocations: 92.76 MB / 0.6056 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.3799, allocations: 75.95 kB / 0.6057 GB, free: 12.43 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:7596:10-7596:69: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.007581/0.3875, allocations: 3.146 MB / 0.6087 GB, free: 9.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3875, allocations: 0 / 0.6087 GB, free: 9.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3875, allocations: 4 kB / 0.6087 GB, free: 9.273 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.0004219/0.388, allocations: 411.3 kB / 0.6091 GB, free: 8.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.388, allocations: 12.02 kB / 0.6091 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.388, allocations: 16.75 kB / 0.6092 GB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.3883, allocations: 227.9 kB / 0.6094 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3883, allocations: 12.38 kB / 0.6094 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.3884, allocations: 4.375 kB / 0.6094 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.3885, allocations: 74.17 kB / 0.6095 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3885, allocations: 192 / 0.6095 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3885, allocations: 3.938 kB / 0.6095 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3886, allocations: 4 kB / 0.6095 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.3886, allocations: 47.91 kB / 0.6095 GB, free: 8.383 MB / 410.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.0005842/0.3892, allocations: 479.3 kB / 0.61 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3894, allocations: 58.5 kB / 0.61 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.3894, allocations: 28.97 kB / 0.6101 GB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.3894, allocations: 0 / 0.6101 GB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3895, allocations: 38.56 kB / 0.6101 GB, free: 7.695 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3895, allocations: 3.938 kB / 0.6101 GB, free: 7.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001823/0.3896, allocations: 89.44 kB / 0.6102 GB, free: 7.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.3897, allocations: 55.34 kB / 0.6102 GB, free: 7.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.3899, allocations: 193.5 kB / 0.6104 GB, free: 7.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3899, allocations: 25.7 kB / 0.6104 GB, free: 7.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.3899, allocations: 112.1 kB / 0.6106 GB, free: 7.191 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.39, allocations: 23.78 kB / 0.6106 GB, free: 7.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.39, allocations: 4 kB / 0.6106 GB, free: 7.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3901, allocations: 326.8 kB / 0.6109 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.3901, allocations: 8 kB / 0.6109 GB, free: 6.828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.3901, allocations: 12.25 kB / 0.6109 GB, free: 6.816 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.3904, allocations: 72.95 kB / 0.611 GB, free: 6.742 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3904, allocations: 0 / 0.611 GB, free: 6.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001042/0.3905, allocations: 77.53 kB / 0.6111 GB, free: 6.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3905, allocations: 10.03 kB / 0.6111 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3906, allocations: 0 / 0.6111 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.3906, allocations: 0 / 0.6111 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.3906, allocations: 8 kB / 0.6111 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3907, allocations: 0 / 0.6111 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.3907, allocations: 11.84 kB / 0.6111 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3907, allocations: 0 / 0.6111 GB, free: 6.633 MB / 410.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.0001617/0.3909, allocations: 126.4 kB / 0.6112 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.3909, allocations: 15.81 kB / 0.6112 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.391, allocations: 17 kB / 0.6112 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.391, allocations: 0 / 0.6112 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.391, allocations: 7.984 kB / 0.6112 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.391, allocations: 3.938 kB / 0.6112 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.3912, allocations: 197.6 kB / 0.6114 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3912, allocations: 3.938 kB / 0.6114 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.3913, allocations: 8 kB / 0.6114 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3913, allocations: 0 / 0.6114 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.3913, allocations: 0 / 0.6114 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3913, allocations: 7.984 kB / 0.6115 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3913, allocations: 4 kB / 0.6115 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.3915, allocations: 189 kB / 0.6116 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.3916, allocations: 92.89 kB / 0.6117 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3916, allocations: 11.92 kB / 0.6117 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.68e-05/0.3917, allocations: 4 kB / 0.6117 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.3917, allocations: 3.938 kB / 0.6117 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3917, allocations: 4 kB / 0.6117 GB, free: 5.859 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.3918, allocations: 135.3 kB / 0.6119 GB, free: 5.727 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3918, allocations: 3.938 kB / 0.6119 GB, free: 5.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.392, allocations: 20 kB / 0.6119 GB, free: 5.703 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 () * 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 8.893e-05/0.3921, allocations: 103.2 kB / 0.612 GB, free: 5.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.106e-05/0.3922, allocations: 27.98 kB / 0.612 GB, free: 5.562 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3923, allocations: 4 kB / 0.612 GB, free: 5.559 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.3923, allocations: 19.94 kB / 0.612 GB, free: 5.539 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.3927, allocations: 62.92 kB / 0.6121 GB, free: 5.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.3933, allocations: 384.4 kB / 0.6125 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.3936, allocations: 0.7048 MB / 0.6132 GB, free: 4.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.899e-05/0.3936, allocations: 9.078 kB / 0.6132 GB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.3937, allocations: 15.44 kB / 0.6132 GB, free: 4.332 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3937, allocations: 4 kB / 0.6132 GB, free: 4.328 MB / 410.7 MB Notification: Performance of Templates: time 0.003972/0.3976, allocations: 1.701 MB / 0.6149 GB, free: 2.672 MB / 410.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)