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.001176/0.001176, allocations: 174.7 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.41/1.41, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008597/0.0008597, allocations: 82.02 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.4006/0.4006, allocations: 37.06 MB / 373.6 MB, free: 45.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.324e-05/4.351e-05, allocations: 4 kB / 441.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 60.08 MB / 0.4898 GB, free: 3.297 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.538, allocations: 91.85 MB / 0.5795 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.5382, allocations: 72.47 kB / 0.5796 GB, free: 0.793 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.007767/0.546, allocations: 3.131 MB / 0.5827 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5461, allocations: 0 / 0.5827 GB, free: 13.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.5461, allocations: 0 / 0.5827 GB, free: 13.7 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.0004312/0.5465, allocations: 393.7 kB / 0.583 GB, free: 13.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5466, allocations: 16.03 kB / 0.5831 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.5466, allocations: 15.81 kB / 0.5831 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.5469, allocations: 226.7 kB / 0.5833 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5469, allocations: 8 kB / 0.5833 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.547, allocations: 4 kB / 0.5833 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.5471, allocations: 75.3 kB / 0.5834 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5472, allocations: 0 / 0.5834 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.5472, allocations: 4 kB / 0.5834 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.5472, allocations: 0 / 0.5834 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.5473, allocations: 34.73 kB / 0.5834 GB, free: 12.86 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.0006166/0.5479, allocations: 0.4914 MB / 0.5839 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.548, allocations: 58.58 kB / 0.5839 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.5481, allocations: 24.98 kB / 0.584 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.5481, allocations: 4 kB / 0.584 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.5481, allocations: 38.45 kB / 0.584 GB, free: 12.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.5481, allocations: 0 / 0.584 GB, free: 12.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001757/0.5483, allocations: 73.5 kB / 0.5841 GB, free: 12.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.5484, allocations: 51.41 kB / 0.5841 GB, free: 12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.5485, allocations: 161.6 kB / 0.5843 GB, free: 11.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.5485, allocations: 25.7 kB / 0.5843 GB, free: 11.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.5486, allocations: 116.1 kB / 0.5844 GB, free: 11.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.5486, allocations: 15.8 kB / 0.5844 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.5487, allocations: 4 kB / 0.5844 GB, free: 11.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5488, allocations: 322.8 kB / 0.5847 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.5488, allocations: 12 kB / 0.5848 GB, free: 11.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.5488, allocations: 8 kB / 0.5848 GB, free: 11.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.5489, allocations: 19.98 kB / 0.5848 GB, free: 11.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5489, allocations: 3.938 kB / 0.5848 GB, free: 11.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001372/0.549, allocations: 73.59 kB / 0.5849 GB, free: 11.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.549, allocations: 8 kB / 0.5849 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5491, allocations: 0 / 0.5849 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5491, allocations: 7.953 kB / 0.5849 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.5492, allocations: 8 kB / 0.5849 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.5492, allocations: 0.7031 kB / 0.5849 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.5492, allocations: 7.844 kB / 0.5849 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.5492, allocations: 4 kB / 0.5849 GB, free: 11.19 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.0001067/0.5494, allocations: 102.7 kB / 0.585 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.5494, allocations: 19.89 kB / 0.585 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.5494, allocations: 17 kB / 0.585 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5494, allocations: 5.547 kB / 0.585 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5495, allocations: 3.938 kB / 0.585 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5495, allocations: 0 / 0.585 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.5497, allocations: 213.5 kB / 0.5852 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5497, allocations: 256 / 0.5852 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.5498, allocations: 8 kB / 0.5852 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5498, allocations: 4 kB / 0.5852 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.5498, allocations: 0 / 0.5852 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5498, allocations: 0 / 0.5852 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5498, allocations: 7.953 kB / 0.5853 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.55, allocations: 183.5 kB / 0.5854 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.55, allocations: 92.94 kB / 0.5855 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.5501, allocations: 0 / 0.5855 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.5502, allocations: 4 kB / 0.5855 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.5502, allocations: 4 kB / 0.5855 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.5502, allocations: 7.891 kB / 0.5855 GB, free: 10.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.807e-05/0.5503, allocations: 140.5 kB / 0.5857 GB, free: 10.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5503, allocations: 3.938 kB / 0.5857 GB, free: 10.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.5505, allocations: 20 kB / 0.5857 GB, free: 10.29 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.0001015/0.5506, allocations: 99.25 kB / 0.5858 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.183e-05/0.5507, allocations: 28 kB / 0.5858 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5507, allocations: 0 / 0.5858 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.5508, allocations: 19.94 kB / 0.5858 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.5512, allocations: 63.17 kB / 0.5859 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.5516, allocations: 203.6 kB / 0.5861 GB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.5518, allocations: 0.7203 MB / 0.5868 GB, free: 9.109 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.5519, allocations: 14.06 kB / 0.5868 GB, free: 9.098 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.5519, allocations: 11.44 kB / 0.5868 GB, free: 9.086 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5519, allocations: 0 / 0.5868 GB, free: 9.086 MB / 410.7 MB Notification: Performance of Templates: time 0.004029/0.556, allocations: 1.673 MB / 0.5884 GB, free: 7.465 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)