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.001238/0.001238, 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.469/1.469, allocations: 221.5 MB / 229.6 MB, free: 7.508 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.000902/0.0009022, allocations: 92.73 kB / 280.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1929/0.1929, allocations: 37.08 MB / 368.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.293e-05/1.296e-05, allocations: 0 / 434.6 MB, free: 23.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 60.09 MB / 494.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.4885, allocations: 91.19 MB / 0.5722 GB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.4887, allocations: 72.64 kB / 0.5722 GB, free: 8.543 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.007729/0.4965, allocations: 3.106 MB / 0.5753 GB, free: 5.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4965, allocations: 0 / 0.5753 GB, free: 5.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.4965, allocations: 0 / 0.5753 GB, free: 5.984 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.000444/0.497, allocations: 400.2 kB / 0.5757 GB, free: 5.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.497, allocations: 12.03 kB / 0.5757 GB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.497, allocations: 7.906 kB / 0.5757 GB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.4974, allocations: 228.7 kB / 0.5759 GB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.4974, allocations: 8 kB / 0.5759 GB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.4974, allocations: 7.938 kB / 0.5759 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.874e-05/0.4975, allocations: 30.8 kB / 0.5759 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.4976, allocations: 60.56 kB / 0.576 GB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4977, allocations: 4 kB / 0.576 GB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4977, allocations: 0 / 0.576 GB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4977, allocations: 4 kB / 0.576 GB, free: 5.191 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.000544/0.4982, allocations: 452.5 kB / 0.5764 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.4983, allocations: 58.25 kB / 0.5765 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.4984, allocations: 22.08 kB / 0.5765 GB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.4984, allocations: 4 kB / 0.5765 GB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.4984, allocations: 37.38 kB / 0.5766 GB, free: 4.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.4984, allocations: 3.938 kB / 0.5766 GB, free: 4.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001791/0.4986, allocations: 67.48 kB / 0.5766 GB, free: 4.543 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.4987, allocations: 51.41 kB / 0.5767 GB, free: 4.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.4988, allocations: 143.7 kB / 0.5768 GB, free: 4.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.4988, allocations: 29.64 kB / 0.5768 GB, free: 4.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.4989, allocations: 119 kB / 0.577 GB, free: 4.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.4989, allocations: 15.8 kB / 0.577 GB, free: 4.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.4989, allocations: 0 / 0.577 GB, free: 4.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4991, allocations: 330.1 kB / 0.5773 GB, free: 3.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.4991, allocations: 11.81 kB / 0.5773 GB, free: 3.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.4991, allocations: 7.875 kB / 0.5773 GB, free: 3.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.4991, allocations: 11.62 kB / 0.5773 GB, free: 3.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4992, allocations: 0 / 0.5773 GB, free: 3.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.779e-05/0.4993, allocations: 73.53 kB / 0.5774 GB, free: 3.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4993, allocations: 5.875 kB / 0.5774 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4993, allocations: 0 / 0.5774 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4993, allocations: 0 / 0.5774 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.4994, allocations: 11.98 kB / 0.5774 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.4994, allocations: 7.953 kB / 0.5774 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.4995, allocations: 7.906 kB / 0.5774 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.4995, allocations: 0 / 0.5774 GB, free: 3.75 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.0001281/0.4996, allocations: 106.7 kB / 0.5775 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.4997, allocations: 7.906 kB / 0.5775 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.4997, allocations: 24.48 kB / 0.5775 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4997, allocations: 3.984 kB / 0.5776 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4997, allocations: 0 / 0.5776 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4997, allocations: 7.953 kB / 0.5776 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.4999, allocations: 174.1 kB / 0.5777 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4999, allocations: 256 / 0.5777 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/0.5, allocations: 8 kB / 0.5777 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.5, allocations: 4 kB / 0.5777 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5, allocations: 3.375 kB / 0.5777 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5, allocations: 7.938 kB / 0.5777 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5, allocations: 0 / 0.5777 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.5002, allocations: 186.6 kB / 0.5779 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.5003, allocations: 92.97 kB / 0.578 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.5003, allocations: 0 / 0.578 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.5004, allocations: 0 / 0.578 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.5004, allocations: 4 kB / 0.578 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.5004, allocations: 2.688 kB / 0.578 GB, free: 3.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.163e-05/0.5005, allocations: 112 kB / 0.5781 GB, free: 2.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5005, allocations: 0 / 0.5781 GB, free: 2.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.5007, allocations: 27.91 kB / 0.5782 GB, free: 2.969 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.0001115/0.5009, allocations: 99.3 kB / 0.5782 GB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.718e-05/0.501, allocations: 34.31 kB / 0.5783 GB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.501, allocations: 3.938 kB / 0.5783 GB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.501, allocations: 11.81 kB / 0.5783 GB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.5013, allocations: 49.34 kB / 0.5783 GB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.5018, allocations: 205.7 kB / 0.5785 GB, free: 2.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5021, allocations: 0.708 MB / 0.5792 GB, free: 1.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.168e-05/0.5021, allocations: 16.81 kB / 0.5792 GB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.5022, allocations: 11.44 kB / 0.5793 GB, free: 1.809 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5022, allocations: 0 / 0.5793 GB, free: 1.809 MB / 378.7 MB Notification: Performance of Templates: time 0.003476/0.5057, allocations: 1.353 MB / 0.5806 GB, free: 0.5 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)